Mark Tozzi
Mark Tozzi
This is a second attempt to solve the problems I was hoping to solve with https://github.com/elastic/elasticsearch/pull/105469 This is a draft/prototype, and there's definitely more duplication of code that is strictly...
This refactoring moves a small part of the Translator logic into the expression classes. Prior to this work, the use of `instanceof` to exhaustively list out the possible leaf classes...
This is easy to work around, but seemed worth reporting anyway. If a request is on the last line (or only line) of a file, it seems to get included...
This wires up the "new" APM metrics integration to the existing Aggregations usage tracking system. It introduces one new metric, a `LongCounter` named `es.search.query.aggregations.total`, which has dimensions for the specific...
This PR migrates the QL optimization rule `SimplifyComparisonArithmetics`, which folds constant arithmetic in binary comparisons when possible. I didn't find any tests for this optimization rule in the existing code...
This lays the groundwork for fixing https://github.com/elastic/elasticsearch/issues/108519, although I don't intend to fix it in this PR. In order to address that issue, we need to be able to control...
This adds in the tests from `OptimizerRunTests` in SQL to apply to ESQL. I've opened issues and applied the `AwaitsFix` annotation for those of the tests that are currently failing.
### Elasticsearch Version main ### Installed Plugins _No response_ ### Java Version _bundled_ ### OS Version n/a ### Problem Description The `SimplifyComparisonArithmetics` optimization rule isn't being applied everywhere we expect....
The `ColumnInfo` class, which is used for request and response serialization, stores a data type. Prior to this PR, it stored that type as a String, and there were several...