Skip to content
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

[CH] Support bit_length/octet_length function #6259

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

exmy
Copy link
Contributor

@exmy exmy commented Jun 27, 2024

What changes were proposed in this pull request?

  • support bit_length/octet_length function

  • move length impl to funciton parser

These three functions may receive int type argument in spark ut, add a cast to string.

How was this patch tested?

PASS CI

Copy link

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/apache/incubator-gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link

Run Gluten Clickhouse CI

@exmy exmy marked this pull request as draft June 27, 2024 10:36
Copy link

Run Gluten Clickhouse CI

Copy link

Run Gluten Clickhouse CI

@exmy exmy marked this pull request as ready for review June 28, 2024 03:29
Copy link

Run Gluten Clickhouse CI

@@ -438,6 +438,9 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("string overlay function")
.exclude("binary overlay function")
.exclude("string parse_url function")
.exclude("string / binary length function")
.exclude("SPARK-36751: add octet length api for scala")
.exclude("SPARK-36751: add bit length api for scala")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

exlcude these three uts due to diff for cast(2.0f to string)

Copy link
Contributor

@liuneng1994 liuneng1994 left a comment

Choose a reason for hiding this comment

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

LGTM

@liuneng1994 liuneng1994 merged commit 231f00c into apache:main Jul 1, 2024
42 checks passed
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