Skip to content

Commit 9b49b57

Browse files
authored
ESQL: Small fixes for COPY_SIGN (#132459) (#132514)
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.
1 parent f41f918 commit 9b49b57

File tree

14 files changed

+429
-11
lines changed

14 files changed

+429
-11
lines changed

docs/changelog/132459.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 132459
2+
summary: Small fixes for COPY_SIGN
3+
area: ES|QL
4+
type: bug
5+
issues: []

docs/reference/query-languages/esql/_snippets/functions/description/copy_sign.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/layout/copy_sign.md

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/parameters/copy_sign.md

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/types/copy_sign.md

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/lists/math-functions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* [`ATAN2`](../../functions-operators/math-functions.md#esql-atan2)
66
* [`CBRT`](../../functions-operators/math-functions.md#esql-cbrt)
77
* [`CEIL`](../../functions-operators/math-functions.md#esql-ceil)
8+
* [`COPY_SIGN`](../../functions-operators/math-functions.md#esql-copy_sign)
89
* [`COS`](../../functions-operators/math-functions.md#esql-cos)
910
* [`COSH`](../../functions-operators/math-functions.md#esql-cosh)
1011
* [`E`](../../functions-operators/math-functions.md#esql-e)

docs/reference/query-languages/esql/functions-operators/math-functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ mapped_pages:
3333
:::{include} ../_snippets/functions/layout/ceil.md
3434
:::
3535

36+
:::{include} ../_snippets/functions/layout/copy_sign.md
37+
:::
38+
3639
:::{include} ../_snippets/functions/layout/cos.md
3740
:::
3841

docs/reference/query-languages/esql/images/functions/copy_sign.svg

Lines changed: 1 addition & 0 deletions
Loading

docs/reference/query-languages/esql/kibana/definition/functions/copy_sign.json

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/docs/functions/copy_sign.md

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)