-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Conversation
Pinging @elastic/es-analytical-engine (Team:Analytics) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
💔 Backport failedThe backport operation could not be completed due to the following error:
You can use sqren/backport to manually backport by running |
* 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]>
Alternative to #116177
I initially thought I need this check too in
DataType.isString
, but it is not needed. Having it underDataType.UNDER_CONSTRUCTION
as we have fordate_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 ofsemantic_text
fields is not returned andsemantic_text
fields cannot be referenced as function/operator arguments for non snapshot builds.