We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NULL::<Data type>
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
as title, NULL::<Data type> can't be encode to substrait, WIP fix in #15854
try run this unit test:
#[tokio::test] async fn fold_cast_null(){ let state = SessionStateBuilder::default().build(); let empty_schema = DFSchemaRef::new(DFSchema::empty()); let field = Field::new("out", DataType::Int32, false); let expr = Expr::Literal(ScalarValue::Null).cast_to(&DataType::Int32, &empty_schema).unwrap(); let typed_null =to_substrait_extended_expr(&[(&expr, &field)], &empty_schema, &state).unwrap(); }
and it will fail with "Null cast is invalid" or something
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
as title,
NULL::<Data type>
can't be encode to substrait, WIP fix in #15854To Reproduce
try run this unit test:
and it will fail with "Null cast is invalid" or something
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: