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

Update datafusion-substrait crate to build against repo version of DataFusion #4879

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Jan 11, 2023

Which issue does this PR close?

Follows on from #4543

Rationale for this change

Updates the crate to build against the version of DataFusion in the repo.

I could not add it to the workspace due to #4880 so there will be a follow-on PR to complete the integration at some point

What changes are included in this PR?

Are these changes tested?

Yes, existing tests

Are there any user-facing changes?

@andygrove andygrove changed the title Integrate datafusion-substrait crate into project Update datafusion-substrait crate to build against repo version of DataFusion Jan 11, 2023
@andygrove andygrove force-pushed the substrait-integrate branch from 869d3c4 to 2bb03a6 Compare January 12, 2023 23:14
@andygrove andygrove marked this pull request as ready for review January 12, 2023 23:15
@andygrove
Copy link
Member Author

@waynexia @nseekhao fyi

Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

Looks good to me, most of them are style changes. I left a comment about "optimize"

@@ -33,15 +33,15 @@ mod tests {
let sql = "SELECT a, b FROM data";
// Test reference
let df_ref = ctx.sql(sql).await?;
let plan_ref = df_ref.to_logical_plan()?;
let plan_ref = df_ref.into_optimized_plan()?;
Copy link
Member

Choose a reason for hiding this comment

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

I hadn't noticed when this changed from "to_optimized" to "to_unoptimized". But as discussed in datafusion-contrib/datafusion-substrait#35, maybe we need not to cover optimization in serialize/deserialize phase?

@alamb alamb merged commit 9247022 into apache:master Jan 13, 2023
@ursabot
Copy link

ursabot commented Jan 13, 2023

Benchmark runs are scheduled for baseline = 82bbaa3 and contender = 9247022. 9247022 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@andygrove andygrove deleted the substrait-integrate branch January 13, 2023 12:10
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.

4 participants