Skip to content

[fix] disable gluten internal 'round' function and rely on Bolt's RoundFunction implementation#18

Open
markjin1990 wants to merge 1 commit into
WangGuangxin:add_bolt_backendfrom
markjin1990:disable-gluten-round-func
Open

[fix] disable gluten internal 'round' function and rely on Bolt's RoundFunction implementation#18
markjin1990 wants to merge 1 commit into
WangGuangxin:add_bolt_backendfrom
markjin1990:disable-gluten-round-func

Conversation

@markjin1990

@markjin1990 markjin1990 commented Mar 18, 2026

Copy link
Copy Markdown

What changes are proposed in this pull request?

  • Disable gluten internal 'round' function () and rely on Bolt's RoundFunction implementation as it is more accurate. Otherwise, we may see cases like round(113.237209, 6) returning 113.23720900000001...

How was this patch tested?

  • Added unit test on Gluten. Bolt also has unit tests for round.

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions Bot added the VELOX label Mar 18, 2026

@taiyang-li taiyang-li left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@markjin1990
markjin1990 force-pushed the disable-gluten-round-func branch from 5ec2e7b to 9b2eeda Compare March 25, 2026 19:14
@taiyang-li

Copy link
Copy Markdown

@markjin1990 would you like to merge this pr recently ?

… Bolt-side "round" function instead

* fix 'round' test result for round(3.1415f, 3)
* Enable bolt for negative scale
* Fix unit test
* Revert "Add unit tests"
* [fix] disable gluten internal 'round' function and rely on Bolt's RoundFunction implementation
* Add unit tests

See merge request: !1752
@markjin1990
markjin1990 force-pushed the disable-gluten-round-func branch from 9b2eeda to 145cec3 Compare April 8, 2026 19:16
@github-actions github-actions Bot added the CORE label Apr 8, 2026
@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants