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

Fix release tests for semantic_text #116202

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

ioanatia
Copy link
Contributor

@ioanatia ioanatia commented Nov 4, 2024

Alternative to #116177

I initially thought I need this check too in DataType.isString, but it is not needed. Having it under DataType.UNDER_CONSTRUCTION as we have for date_nanos should suffice.
semantic_text remains unsupported in non snapshot builds (just to be sure I checked by running Elasticsearch with -Dbuild.snapshot=false). The representation of semantic_text fields is not returned and semantic_text fields cannot be referenced as function/operator arguments for non snapshot builds.

@ioanatia ioanatia added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged test-release Trigger CI checks against release build :Analytics/ES|QL AKA ESQL v9.0.0 v8.17.0 labels Nov 4, 2024
@ioanatia ioanatia marked this pull request as ready for review November 4, 2024 18:40
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 4, 2024
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@carlosdelest carlosdelest left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

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

Nice!

@ioanatia ioanatia merged commit eef2ba4 into elastic:main Nov 5, 2024
17 checks passed
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

The backport operation could not be completed due to the following error:

An unexpected error occurred when attempting to backport this PR.

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 116202

ioanatia added a commit to ioanatia/elasticsearch that referenced this pull request Nov 5, 2024
@ioanatia ioanatia deleted the alternative_fix_release_tests branch November 5, 2024 10:17
ioanatia added a commit that referenced this pull request Nov 5, 2024
* semantic_text as string type in ES|QL - support for functions and operators (#115243)

* fix tests

* Add CSV tests

* Add function tests

* Refactor tests

* spotless

* Use DataType.stringTypes() where possible

* Add tests for conditional functions and expressions

* Fix tests after merge

* Reorder semantic_text evaluators and tests

* Re-ordered two more places for SEMANTIC_TEXT after TEXT

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Craig Taverner <[email protected]>

* Fix release tests for semantic_text (#116202)

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Craig Taverner <[email protected]>
jozala pushed a commit that referenced this pull request Nov 13, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
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 backport pending Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants