Skip to content

Add ES|QL copy_sign function #126486

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

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from
Draft

Conversation

vitaliidm
Copy link
Contributor

@vitaliidm vitaliidm commented Apr 8, 2025

ON-WEEK attempt to contribute to ES|QL functions: #98545

This PR adds copy_sign command

POST _query
{
 "query": "ROW magnitude = 2.3 , sign = -2 | EVAL result = copy_sign(magnitude, sign)"
}

@vitaliidm vitaliidm marked this pull request as draft April 8, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants