Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESQL: Enable testing in more cases #107920

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Apr 25, 2024

This allows us to build ExpressionEvaluators in tests when some of the inputs aren't representable but when they are literals. This enables many more cases in AddTests, for example, where we have support for adding time spans to dates.

This allows us to build `ExpressionEvaluator`s in tests when some of the
inputs aren't `representable` but when they *are* literals. This
enables many more cases in `AddTests`, for example, where we have
support for adding time spans to dates.
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests :Analytics/ES|QL AKA ESQL v8.15.0 labels Apr 25, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Apr 25, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@nik9000 nik9000 requested a review from bpintea April 25, 2024 18:48
@nik9000
Copy link
Member Author

nik9000 commented Apr 25, 2024

I bumped into this while looking for #107817, but it enables some tests that @bpintea left a comment about not being run.

Copy link
Contributor

@bpintea bpintea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks Nik!

@nik9000 nik9000 added the auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label May 7, 2024
@nik9000 nik9000 merged commit b4958a9 into elastic:main May 7, 2024
15 checks passed
@nik9000 nik9000 deleted the test_not_representable branch May 7, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants