-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Is your feature request related to a problem or challenge?
We would like to make sure that DataFusion 45.0.0 works with Sail before creating the release candidate.
Describe the solution you'd like
All CI tests should pass in a PR that upgrades to DataFusion 45.
Current PR:
lakehq/sail#365
Current issues being investigated:
Test 1: Commit 68e372f (DataFusion main)
1. Derived TPC-DS Query 66 fails on Sail, when it previously did not.
Exception: Error executing query q66 with error: Internal error:
Physical input schema should be the same as the one converted from logical input schema.
Differences:
- field nullability at index 7 [#98]: (physical) false vs (logical) true.
2. Another regression is that implementing the is_nullable function in the ScalarUDFImpl trait no longer works. For example:
impl ScalarUDFImpl for SparkArray {
...
fn is_nullable(&self, _args: &[Expr], _schema: &dyn ExprSchema) -> bool {
false
}
...
}
Digging into the code, I see that it's deprecated (it should still work even though it's deprecated). What's strange, however, is that the deprecation warning is not propagating to me as a downstream user. I only found this out due to a failed test.
Test 2: Commit 26058ac (DataFusion 45.0.0-rc1)
1. Derived TPC-DS Query 66 still failing, with same error.
2. Same issue still. I ended up removing is_nullable and implementing return_type_from_args. This seems to be a breaking change rather than is_nullable simply being deprecated.
Describe alternatives you've considered
No response
Additional context
No response