Skip to content

Commit

Permalink
feat: Create new datafusion-comet-spark-expr crate containing Spark…
Browse files Browse the repository at this point in the history
…-compatible DataFusion expressions (apache#638)

* convert into workspace project

* update GitHub actions

* update Makefile

* fix regression

* update target path

* update protobuf path in pom.xml

* update more paths

* add new datafusion-comet-expr crate

* rename CometAbsFunc to Abs and add documentation

* fix error message

* improve error handling

* update crate description

* remove unused dep

* address feedback

* finish renaming crate

* update README for datafusion-spark-expr

* rename crate to datafusion-comet-spark-expr
  • Loading branch information
andygrove authored and viirya committed Jul 12, 2024
1 parent 6b7f9a0 commit db00199
Show file tree
Hide file tree
Showing 10 changed files with 228 additions and 3,393 deletions.
74 changes: 42 additions & 32 deletions native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 23 additions & 1 deletion native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
# under the License.

[workspace]
members = ["core"]
members = ["core", "spark-expr"]
resolver = "2"

[workspace.package]
version = "0.1.0"
Expand All @@ -30,3 +31,24 @@ edition = "2021"

# Comet uses the same minimum Rust version as DataFusion
rust-version = "1.75"

[workspace.dependencies]
arrow = { version = "52.1.0", features = ["prettyprint", "ffi", "chrono-tz"] }
arrow-array = { version = "52.1.0" }
arrow-buffer = { version = "52.1.0" }
arrow-data = { version = "52.1.0" }
arrow-schema = { version = "52.1.0" }
parquet = { version = "52.1.0", default-features = false, features = ["experimental"] }
datafusion-common = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1" }
datafusion = { default-features = false, git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1", features = ["unicode_expressions", "crypto_expressions"] }
datafusion-functions = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1", features = ["crypto_expressions"] }
datafusion-expr = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1", default-features = false }
datafusion-physical-expr-common = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1", default-features = false }
datafusion-physical-expr = { git = "https://github.com/apache/datafusion.git", rev = "40.0.0-rc1", default-features = false }

[profile.release]
debug = true
overflow-checks = false
lto = "thin"
codegen-units = 1
strip = "debuginfo"
Loading

0 comments on commit db00199

Please sign in to comment.