Skip to content

ESQL: add scalb function#127696

Merged
shmuelhanoch merged 1 commit intoelastic:mainfrom
shmuelhanoch:esql-add-scalb-function
May 22, 2025
Merged

ESQL: add scalb function#127696
shmuelhanoch merged 1 commit intoelastic:mainfrom
shmuelhanoch:esql-add-scalb-function

Conversation

@shmuelhanoch
Copy link
Copy Markdown
Contributor

Part of #98545.

@cla-checker-service
Copy link
Copy Markdown

cla-checker-service bot commented May 5, 2025

💚 CLA has been signed

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v9.1.0 labels May 5, 2025
@shmuelhanoch shmuelhanoch added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 5, 2025
@elasticsearchmachine elasticsearchmachine removed the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 5, 2025
@luigidellaquila luigidellaquila added >enhancement and removed needs:triage Requires assignment of a team area label labels May 5, 2025
@elasticsearchmachine elasticsearchmachine added the needs:triage Requires assignment of a team area label label May 5, 2025
@luigidellaquila luigidellaquila added :Analytics/ES|QL AKA ESQL and removed needs:triage Requires assignment of a team area label labels May 5, 2025
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label May 5, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

Copy link
Copy Markdown
Member

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

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

Thanks @shmuelhanoch

I'm adding here some notes about what we discussed off-line

@luigidellaquila
Copy link
Copy Markdown
Member

Please also add some tests for pathological cases, like very large numbers and null values.

Copy link
Copy Markdown
Member

@luigidellaquila luigidellaquila 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
Copy Markdown
Member

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

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

Thanks @shmuelhanoch, I think we are almost there. Just one small thing about a csv test

Copy link
Copy Markdown
Member

@luigidellaquila luigidellaquila left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@shmuelhanoch shmuelhanoch merged commit db644e2 into elastic:main May 22, 2025
18 checks passed
@tylerperk
Copy link
Copy Markdown

Hi @luigidellaquila @shmuelhanoch can this be backported to 8.19.0?

@luigidellaquila
Copy link
Copy Markdown
Member

@tylerperk I'll take care of it

luigidellaquila pushed a commit to luigidellaquila/elasticsearch that referenced this pull request Jun 3, 2025
Co-authored-by: Shmuel Hanoch <shmuel.hanoch@elastic.co>
@luigidellaquila
Copy link
Copy Markdown
Member

Manual backport here #128815

elasticsearchmachine pushed a commit that referenced this pull request Jun 3, 2025
Co-authored-by: shmuelhanoch <shmuelhanoch@gmail.com>
Co-authored-by: Shmuel Hanoch <shmuel.hanoch@elastic.co>
@leemthompo
Copy link
Copy Markdown
Member

leemthompo commented Jul 23, 2025

@shmuelhanoch @luigidellaquila don't forget that nowadays we need to add applies_to tags for all docs changes (example), because we don't publish on separate minor branches. Can you confirm:

  • scalb is introduced in 9.1?
  • it's straight to GA, or is it preview?

I'll open PR to fix :-)

leemthompo added a commit to leemthompo/elasticsearch that referenced this pull request Jul 24, 2025
leemthompo added a commit that referenced this pull request Jul 28, 2025
* Add applies to to ScalB function in #127696

* Add applies_to to categorize, follow up to #129398

* Add version info, following #127629

* SAMPLE is new + GA in 9.1 #127629

* add applies to for 9.2 option
leemthompo added a commit to leemthompo/elasticsearch that referenced this pull request Jul 28, 2025
* Add applies to to ScalB function in elastic#127696

* Add applies_to to categorize, follow up to elastic#129398

* Add version info, following elastic#127629

* SAMPLE is new + GA in 9.1 elastic#127629

* add applies to for 9.2 option

(cherry picked from commit 5d565b5)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/parameters/categorize.md
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java
elasticsearchmachine pushed a commit that referenced this pull request Jul 28, 2025
* Add applies to to ScalB function in #127696

* Add applies_to to categorize, follow up to #129398

* Add version info, following #127629

* SAMPLE is new + GA in 9.1 #127629

* add applies to for 9.2 option

(cherry picked from commit 5d565b5)

# Conflicts:
#	docs/reference/query-languages/esql/_snippets/functions/parameters/categorize.md
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/grouping/Categorize.java
afoucret pushed a commit to afoucret/elasticsearch that referenced this pull request Jul 28, 2025
* Add applies to to ScalB function in elastic#127696

* Add applies_to to categorize, follow up to elastic#129398

* Add version info, following elastic#127629

* SAMPLE is new + GA in 9.1 elastic#127629

* add applies to for 9.2 option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants