-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ESQL: Small fixes for COPY_SIGN #132459
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: Small fixes for COPY_SIGN #132459
Conversation
Adds some small fixes to `COPY_SIGN` and some docs and tests. The fixes are mostly supporting the literal `NULL` in parameters. `COPY_SIGN` supports `float` arguments, but the tests don't cover it because we don't build `float` blocks. Otherwise, the tests are fairly standard.
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Hi @nik9000, I've created a changelog YAML for you. |
| throw new IllegalArgumentException("bogus numeric type [" + type + "]"); | ||
| } | ||
|
|
||
| public static List<TypedDataSupplier> getSuppliersForNumericType(DataType type) { |
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.
Should we just call this getSuppliersForType() and implement for everything? (Or leave it with an exception for unhandled cases until we need them)
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.
Makes sense to me.
Adds some small fixes to `COPY_SIGN` and some docs and tests. The fixes are mostly supporting the literal `NULL` in parameters. `COPY_SIGN` supports `float` arguments, but the tests don't cover it because we don't build `float` blocks. Otherwise, the tests are fairly standard.
💚 Backport successful
|
Adds some small fixes to `COPY_SIGN` and some docs and tests. The fixes are mostly supporting the literal `NULL` in parameters. `COPY_SIGN` supports `float` arguments, but the tests don't cover it because we don't build `float` blocks. Otherwise, the tests are fairly standard.
Adds some small fixes to
COPY_SIGNand some docs and tests. The fixes are mostly supporting the literalNULLin parameters.COPY_SIGNsupportsfloatarguments, but the tests don't cover it because we don't buildfloatblocks. Otherwise, the tests are fairly standard.