-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade to arrow 20.0.0 (but no change to object_store), including prost
, and tonic
#3083
Conversation
fix decimal (#4) Fix human error Patch crates io to fix build (#5) * fix decimal * patch crate versions Patch objectstore Test in CI Undo override? Fix more errors Fix last error? Formatting Clippy Fixes Fix refs Able to get session context, but JDBC driver hung Upgrade to arrow 20 Upgrade to RC2 Formatting Fix some imports Install protoc Try platform agnostic path Debug in CI :( Debug in CI :( Debug in CI :( Not worth it, just separate builds Variables Fixes Fix windows? Fix windows? Hackily fix windows Down to 1 failure Fix protoc All? tests pass Formatting
@tustvold here's the other version with |
👀 This makes no sense, none of this should have changed 😢 |
Oh, you've made a load of path changes - can you revert these 🙏 |
let format = JsonFormat::default().with_schema_infer_max_rec(Some(3)); | ||
|
||
let store_root = std::path::Path::new(env!("CARGO_MANIFEST_DIR")); | ||
let filename = store_root.join("tests/jsons/schema_infer_limit.json"); | ||
let filename = filename.to_str().expect("Unable to get path!"); |
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.
Reverting these should make things work
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.
Ah, thank you! I missed these when reverting things. I'm pushing a new commit to this PR that I think will be releasable.
Sorry I missed these, I appreciate your help 🙌
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.
No worries at all, for reference the reason this breaks is that paths on Windows not only don't start with /
but when canonicalized get converted to extended length path syntax. This is not a valid object store path, and so it is complaining about this.
Paths on Windows is a complete nonsensical mess, as a result LocalFileSystem actually just implements the file URI standard which basically behaves like paths on Linux (or paths on anything that isn't Windows 😆 ). As such if you feed it something that isn't a file URI path, it will complain
@alamb and @andygrove likely this will be a better release candidate than #3007 for the reasons @tustvold explained above. |
Codecov Report
@@ Coverage Diff @@
## master #3083 +/- ##
=======================================
Coverage 85.93% 85.94%
=======================================
Files 289 289
Lines 52101 52100 -1
=======================================
+ Hits 44774 44775 +1
+ Misses 7327 7325 -2
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
@alamb & @andygrove the only remaining failure looks like an intermittent network issue. I think we're GTG here 🎉 |
Great -- I think we are on track for an arrow-rs release in a few hours (I need to wait for the official 72 hour voting period to end) -- 🔜 |
Thanks so much for this @avantgardnerio |
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.
@avantgardnerio do you have time today to update this to use the released arrow 20.0.0
? If not I can make a PR (based on this one) to get in.
I'll do that 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.
This looks like epic work @avantgardnerio -- thanks again
@@ -35,6 +35,15 @@ list to help you get started. | |||
|
|||
This section describes how you can get started at developing DataFusion. | |||
|
|||
### Windows setup | |||
|
|||
```shell |
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.
Is this still correct? Does it need any additional explination?
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.
I just put that in there based upon the setup of a VM I did yesterday. I do tend to like scripts-as-doc as it eliminates the ambiguity of English. Ideally CI would start with a vanilla Windows machine and run these scripts, but I guess github did that part for us so we just have to doc it some where.
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.
I think it is valuable -- thank you
datafusion/core/Cargo.toml
Outdated
datafusion-jit = { path = "../jit", version = "10.0.0", optional = true } | ||
datafusion-optimizer = { path = "../optimizer", version = "10.0.0" } | ||
datafusion-physical-expr = { path = "../physical-expr", version = "10.0.0" } | ||
datafusion-row = { path = "../row", version = "10.0.0" } |
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.
I can't remember if the versions are needed to cargo publish
these crates to crates.io -- perhaps @andygrove remembers / knows?
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.
Looks good to me -- 🤞 for a clean CI run
I ran all the checks locally and they passed ... so 🤞 |
prost
, and tonic
🚀 |
Thanks again everyone for all the work to get this through |
Benchmark runs are scheduled for baseline = 1e44417 and contender = 3eb55e9. 3eb55e9 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Closes #3006.
Closes #3085
Closes #3086
Closes #3087
This is an alternative to #3007 but it retains
object_store = "0.3.0"
.Rationale for this change
We'll have to do it sooner or later, but mostly I want the new authentication capabilities in the FlightSqlServer code.
What changes are included in this PR?
An attempt at upgrading to the latest arrow.
Are there any user-facing changes?
Users should be able to use arrow 20