Skip to content

ESQL: Fewer test cases for conversions#119774

Merged
nik9000 merged 2 commits intoelastic:mainfrom
nik9000:move_error_cases2
Jan 9, 2025
Merged

ESQL: Fewer test cases for conversions#119774
nik9000 merged 2 commits intoelastic:mainfrom
nik9000:move_error_cases2

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jan 8, 2025

This applies that pattern from #119678 to the convert tests. It doesn't buy us any speed, sadly. This is because conversions are unary and we rarely get much bonus from unary functions for this. Still, we do marginally reduce the number of test cases which is good for gradle:

13862 -> 11948 (14%)

This applies that pattern from elastic#119678 to the `convert` tests. It
doesn't buy us any speed, sadly. This is because conversions are *unary*
and we rarely get much bonus from unary functions for this. Still, we do
marginally reduce the number of test cases which is good for gradle:
```
13862 -> 11948 (14%)
```
@nik9000 nik9000 added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.0.0 v8.18.0 labels Jan 8, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jan 8, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented Jan 9, 2025

Thanks @idegtiarenko !

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
8.x

nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Jan 9, 2025
This applies that pattern from elastic#119678 to the `convert` tests. It
doesn't buy us any speed, sadly. This is because conversions are *unary*
and we rarely get much bonus from unary functions for this. Still, we do
marginally reduce the number of test cases which is good for gradle:
```
13862 -> 11948 (14%)
```
elasticsearchmachine pushed a commit that referenced this pull request Jan 9, 2025
This applies that pattern from #119678 to the `convert` tests. It
doesn't buy us any speed, sadly. This is because conversions are *unary*
and we rarely get much bonus from unary functions for this. Still, we do
marginally reduce the number of test cases which is good for gradle:
```
13862 -> 11948 (14%)
```
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-backport Automatically create backport pull requests when merged Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.18.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants