yaooqinn commented on PR #13827: URL: https://github.com/apache/gluten/pull/13827#issuecomment-7251111622
Two questions: 1. `docs/backends/velox/velox-backend-limitations.md:51` still says `spark.files.ignoreCorruptFiles` set to true "is same as config false"; with this PR the scan falls back instead. Could that line be updated to name `spark.sql.files.ignoreCorruptFiles` and the `ignoreCorruptFiles` read option (plus `spark.files.ignoreCorruptFiles` for Hive on Spark 3.x), and say that a session-wide `true` moves every file scan to vanilla Spark even when no file is corrupt? The existence-defaults fallback has an opt-out (`spark.gluten.sql.scan.fallbackOnExistenceDefaults.enabled`); would a similar switch help users who set ignoreCorruptFiles globally? 2. The check is in the shared `BasicScanExecTransformer`, so it also applies to ClickHouse. A V1 scan of `DeltaMergeTreeFileFormat` (read natively as `MergeTreeReadFormat`) would now fall back to vanilla Spark, whose reader for that format comes from `DeltaParquetFileFormat` and can't read MergeTree parts; with ignoreCorruptFiles on, `FileScanRDD` may then skip those files as corrupt instead of failing. Is that path reachable, and if so should the check skip MergeTree scans or move into the Velox backend's `validateScanExec`? -- 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]
