v.22.12Improvement

Correct Error Reporting in Multi-JOIN Queries

Correctly report errors in queries even when multiple JOINs optimization is taking place. #43583 (Salvatore).
Improves error reporting in queries involving multiple JOIN optimizations to correctly identify and display errors.

Why it matters

When multiple JOIN operations undergo optimization during query execution, error messages could previously be inaccurate or misleading. This feature fixes that by ensuring that errors are reported correctly, helping users to better understand and debug their queries.

How to use it

This improvement works automatically in queries that perform multiple JOIN optimizations. Users do not need to enable anything explicitly; it enhances the error reporting mechanism internally.