Skip to content

chore: Convert Rust project into a workspace - #637

Merged
andygrove merged 7 commits into
apache:mainfrom
andygrove:workspace
Jul 8, 2024
Merged

andygrove merged 7 commits into
apache:mainfrom
andygrove:workspace

Conversation

@andygrove

@andygrove andygrove commented Jul 6, 2024 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

This is a first step towards splitting the Comet code into multiple crates, such as a datafusion-spark-expr crate as suggested in #630

Rationale for this change

There are multiple benefits to splitting the project into multiple crates

  • Improve build times
  • Make Comet re-usable as a library for other Rust projects that require Spark-compatible expressions (helps build community + contributors)

What changes are included in this PR?

  • Rename core to native/core
  • Add new top-level Cargo.toml under native
  • Update Makefile and CI workflows

How are these changes tested?

@codecov-commenter

codecov-commenter commented Jul 6, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.54%. Comparing base (eff2897) to head (e7fff73).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #637      +/-   ##
============================================
+ Coverage     33.42%   33.54%   +0.12%     
- Complexity      805      823      +18     
============================================
  Files           109      109              
  Lines         42462    42512      +50     
  Branches       9342     9346       +4     
============================================
+ Hits          14191    14262      +71     
+ Misses        25322    25316       -6     
+ Partials       2949     2934      -15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andygrove
andygrove marked this pull request as ready for review July 6, 2024 14:33
@andygrove
andygrove requested a review from viirya July 6, 2024 15:48
@andygrove
andygrove merged commit a8433b5 into apache:main Jul 8, 2024
@andygrove
andygrove deleted the workspace branch July 8, 2024 15:42
himadripal pushed a commit to himadripal/datafusion-comet that referenced this pull request Sep 7, 2024
* convert into workspace project

* update GitHub actions

* update Makefile

* fix regression

* update target path

* update protobuf path in pom.xml

* update more paths
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.

3 participants