andygrove opened a new issue, #3317: URL: https://github.com/apache/datafusion-comet/issues/3317
## Summary 2 Spark SQL tests fail because `native_datafusion` doesn't populate the `_tmp_metadata_row_index` metadata column. ## Failing Tests - `FileMetadataStructRowIndexSuite`: "reading _tmp_metadata_row_index - not present in a table" — returns 0 instead of expected row indices - `FileMetadataStructRowIndexSuite`: "reading _tmp_metadata_row_index - present in a table" — returns 0 instead of expected row indices ## Root Cause `native_datafusion` scan doesn't generate row index metadata. The count returned is 0 instead of the expected 100 rows. ## Possible Fix In `CometScanRule.nativeDataFusionScan()`, detect when row index metadata columns are requested in the schema and fall back to `native_iceberg_compat`. ## Related Discovered in CI for #3307 (enable native_datafusion in auto scan mode). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
