You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[native_datafusion] [Spark SQL Tests] Bucketing not exposed by CometNativeScan #3319
DisableUnnecessaryBucketedScanSuite: "SPARK-33075: not disable bucketed table scan for cached query"
DisableUnnecessaryBucketedScanSuite: "Aggregates with no groupby over tables having 1 BUCKET, return multiple rows"
BucketedReadSuite: "disable bucketing when the output doesn't contain all bucketing columns"
BucketedReadSuite: "bucket coalescing is applied when join expressions match with partitioning expressions"
Error Pattern
ArrayBuffer() had length 0 instead of expected length 1 (DisableUnnecessaryBucketedScanSuite.scala:79)
Tests look for FileSourceScanExec nodes to inspect bucketing state. CometNativeScan isn't matched, so no scan nodes are found.
Root Cause
CometNativeScan replaces FileSourceScanExec in the plan but doesn't expose bucketing metadata (bucket count, bucket columns, etc.). Tests that inspect or modify bucketing behavior can't find the scan node.
Related
Discovered in CI for #3307 (enable native_datafusion in auto scan mode).
Activity
Add IgnoreCometNativeDataFusion annotations for failing native_datafu…
fix: Expose bucketing information from CometNativeScanExec (apache#3319)
fix: Expose bucketing information from CometNativeScanExec (#3319) (#…
andygrove commentedon Mar 28, 2026
Some 3.5.8 tests are still disabled for this issue, so reopening
fix: update bucketed tests to support CometNativeScanExec