-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 16.0.0
#2718
Upgrade to arrow 16.0.0
#2718
Conversation
expected_error | ||
), | ||
} | ||
let e = execution_plan.unwrap_err().to_string(); |
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 is great -- arrow 16.0.0 contains support for casting Utf8
to bool (apache/arrow-rs#1738 - Thanks @MazterQyou) -- so I updated the test to try and cast Utf8
to some struct.
I also took the opportunity to clean up the test in general
Expr::Literal(ScalarValue::Utf8(Some("a".to_string()))), | ||
Expr::Literal(ScalarValue::Int64(Some(1))), | ||
]; | ||
let list = vec![lit("a"), lit(1i64)]; |
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.
used more concise construction of ScalarValue
s
|
||
Ok(()) | ||
} | ||
|
||
/// Return a `null` literal representing a struct type like: `{ a: bool }` | ||
fn struct_literal() -> Expr { |
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.
Casting from Utf8
to Struct
is still not supported
Draft until arrow 16.0.0 is released
re: apache/arrow-rs#1809
This PR validates that DataFusion can be upgraded to the latest arrow
Closes #2732
Closes #2731
Closes #2733