feat: Upgrade to DataFusion 46.0.0-rc2#1423
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1423 +/- ##
============================================
+ Coverage 56.12% 58.55% +2.43%
- Complexity 976 1015 +39
============================================
Files 119 122 +3
Lines 11743 12249 +506
Branches 2251 2304 +53
============================================
+ Hits 6591 7173 +582
+ Misses 4012 3919 -93
- Partials 1140 1157 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
There are some failures with hash functions. org.apache.spark.SparkException: Job aborted due to stage failure: Task 4 in stage 6204.0 failed 1 times, most recent failure: Lost task 4.0 in stage 6204.0 (TID 14921) (c8336c0abbf7 executor driver): org.apache.comet.CometNativeException: Function sha256 does not implement invoke but called |
|
@kazuyukitanimura I'd like to go ahead and merge this now to give us a few days to test with DF 46 before the final release. WDYT? |
native/core/src/parquet/mod.rs
Outdated
| let parquet_source = ParquetSource::new(table_parquet_options).with_schema_adapter_factory( | ||
| Arc::new(SparkSchemaAdapterFactory::new(spark_parquet_options)), | ||
| ); | ||
| //.with_schema(Arc::new(required_schema_arrow)); |
There was a problem hiding this comment.
Is this comment a dev code?
| name: name.into(), | ||
| signature: Signature::coercible( | ||
| vec![ | ||
| vec![Coercion::new_exact( |
There was a problem hiding this comment.
What does this Coercion do?
There was a problem hiding this comment.
This use of Coercion::new_exact means that we only accept the specific type (Float64) and will not perform any coercion.
From DataFusion docs:
/// There are two variants:
///
/// * `Exact` - Only accepts arguments that exactly match the desired type
/// * `Implicit` - Accepts the desired type and can coerce from specified source types
Which issue does this PR close?
Closes #1414
Rationale for this change
Upgrade to latest DataFusion.
What changes are included in this PR?
How are these changes tested?