malinjawi opened a new pull request, #13836:
URL: https://github.com/apache/gluten/pull/13836

   ## What changes are proposed in this pull request?
   
   Part of #12263. Asked for on #13595: this adds 
`spark.gluten.sql.columnar.lance.enableNativeRead` (default true) to turn off 
the Lance scan offload, like 
`spark.gluten.sql.columnar.iceberg.enableNativeRead` does for Iceberg. When 
it's off, Lance scans fall back to vanilla Spark and other scans stay 
offloaded. The switch lives in a new `GlutenLanceConfig` in `gluten-lance`, 
which the native write switch for #13806 will also use.
   
   ## How was this patch tested?
   
   New test in `VeloxLanceSuite`: with the switch off, the Lance scan falls 
back with the same results and a Parquet scan is still offloaded. Ran the Lance 
tests on Spark 3.5 and 4.2.
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (claude-opus-5-5)
   


-- 
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]

Reply via email to