Mark Tozzi

Results 9 issues of 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...

v8.14.0

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...

>non-issue
:Analytics/ES|QL
v8.14.0

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...

>non-issue
:Analytics/Aggregations
Team:Core/Infra
Team:Analytics
:Core/Infra/Metrics
v8.15.0

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...

>non-issue
Team:Analytics
auto-backport-and-merge
:Analytics/ES|QL
v8.14.1
v8.15.0

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...

>non-issue
:Analytics/ES|QL
v8.15.0

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.

>test
Team:Analytics
:Analytics/ES|QL
v8.15.0

### 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....

>bug
Team:Analytics
:Analytics/ES|QL

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...

>non-issue
Team:Analytics
:Analytics/ES|QL
v8.15.0