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

build(deps): datafusion 41 #2917

Merged
merged 11 commits into from
Sep 30, 2024
Merged

build(deps): datafusion 41 #2917

merged 11 commits into from
Sep 30, 2024

Conversation

alexwilcoxson-rel
Copy link
Contributor

Upgrades datafusion and associated crates to version 41. 42 was just released which also has an arrow update to 53.

We're looking to adopt lance in our service where we've already upgraded to 41 for some other dependencies.

@github-actions github-actions bot added the chore label Sep 20, 2024
// See: https://github.com/apache/datafusion/issues/11477
for planner in context_provider.state.expr_planners() {
sql_to_rel = sql_to_rel.with_user_defined_planner(planner.clone());
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@eddyxu eddyxu requested review from westonpace and wjones127 and removed request for westonpace September 20, 2024 05:57
Copy link
Contributor

@wjones127 wjones127 left a comment

Choose a reason for hiding this comment

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

This looks good. Thanks for the PR @alexwilcoxson-rel

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (396b4d1) to head (458da1e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2917   +/-   ##
=======================================
  Coverage   78.99%   78.99%           
=======================================
  Files         234      234           
  Lines       72829    72849   +20     
  Branches    72829    72849   +20     
=======================================
+ Hits        57530    57546   +16     
+ Misses      12329    12326    -3     
- Partials     2970     2977    +7     
Flag Coverage Δ
unittests 78.99% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@alexwilcoxson-rel
Copy link
Contributor Author

@wjones127 thanks! the python tests exposed another issue with ExprPlanners that the latest commit resolves

@alexwilcoxson-rel
Copy link
Contributor Author

I ran this from the github workflow locally and it was successful. Any ideas on the failing java run in github?

export JAVA_TOOL_OPTIONS "$JAVA_TOOL_OPTIONS -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false -Dio.netty.tryReflectionSetAccessible=true"

mvn clean install

@wjones127
Copy link
Contributor

Any ideas on the failing java run in github?

This succeeds on Mac for me, but fails on Linux. So I think that's the reason.

@wjones127 wjones127 mentioned this pull request Sep 30, 2024
@wjones127
Copy link
Contributor

Apologies for the delay. I've been trying to figure out what to do about the Java failure. It seems like we don't have the bandwidth or tooling yet to debug this issue, so we are going to just comment those tests out for now and leaving fixing them as a TODO.

#2956

@github-actions github-actions bot added the java label Sep 30, 2024
@wjones127 wjones127 merged commit c1edcae into lancedb:main Sep 30, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants