-
Notifications
You must be signed in to change notification settings - Fork 750
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
feat(query): bump arrow-udf version to enhance types supported by JS UDFs #15529
feat(query): bump arrow-udf version to enhance types supported by JS UDFs #15529
Conversation
…UDFs I made some enhancements to the arrow-udf-js code to improve Databend support. JS UDFs now support Variant, Timestamp, Date and Decimal types in arguments and return values. This version also enables all intrinsics in rquickjs for better JS compatibility.
@@ -224,8 +224,8 @@ parquet = { version = "51", features = ["async"] } | |||
parquet_rs = { package = "parquet", version = "51" } | |||
|
|||
# Crates from risingwavelabs | |||
arrow-udf-js = { package = "arrow-udf-js", git = "https://github.com/datafuse-extras/arrow-udf", rev = "a8fdfdd" } | |||
arrow-udf-wasm = { package = "arrow-udf-wasm", git = "https://github.com/datafuse-extras/arrow-udf", rev = "a8fdfdd" } | |||
arrow-udf-js = { package = "arrow-udf-js", git = "https://github.com/datafuse-extras/arrow-udf", rev = "d0a21f0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can use the upstream commit now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for your contribution @maxjustus
Unit failed:
https://github.com/datafuselabs/databend/actions/runs/9088408924/job/24977918495?pr=15529 |
Ah whoops @BohuTANG - my eyes somehow glossed over the fact that you all use a fork of the main arrow UDF repo. I was using a local crate override while developing this so I didn't notice. It looks like your fork was recently updated to include my changes at that SHA so I suspect that this CI pipeline will pass if you just retry it. I tried to myself just now, but I don't think I have permissions. |
At least one type of change must be checked in the PR description. |
ok @BohuTANG looks like it's all green now! |
I made some enhancements to the arrow-udf-js code to improve Databend support.
JS UDFs now support Variant, Timestamp, Date and Decimal types in arguments and return values.
This update also enables all intrinsics in rquickjs for better JS compatibility.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Tests
Type of change
This change is