malinjawi commented on PR #13595:
URL: https://github.com/apache/gluten/pull/13595#issuecomment-7050103757

   
   > 
   > One thing to coordinate with #13648: it removes `LanceScanTransformer` and 
`OffloadLanceScan` and reads through lance-spark's Arrow batches instead. A 
`LanceArrowBatchScan` rule picks the scans to offload based on which Arrow 
types Velox imports, so it stays in `backends-velox/src-lance`. After #13648, 
`gluten-lance` would have no scan code. #13648 is waiting for a lance-spark 
release that includes 
[lance-format/lance-spark#908](https://github.com/lance-format/lance-spark/pull/908),
 so this PR will likely land first, and I'll rebase #13648 onto it. Against 
this head that comes down to two rename/delete conflicts on the moved files, 
and deleting them resolves both.
   > 
   > `LanceWriteExec.unsupportedColumn` and `timestampInNullableStruct` don't 
depend on Velox at compile time. They do describe what Velox's Arrow export 
produces, though: plain `List` for fixed-size lists, plus the timestamp 
conversion under a null struct. Would it fit the split better for 
`VeloxLanceWriteExec` to provide that check, so `gluten-lance` keeps only what 
holds for any backend?
   
   
   Thanks for building it on its own @sezruby! Yes, it fits the split better, 
so I moved both. `LanceWriteExec` now has an abstract `unsupportedColumn`, and 
`VeloxLanceWriteExec` provides it from `unexportableColumn` (was 
`unsupportedColumn`, the fixed-size list export) and `undefinedUnderNullStruct` 
(was `timestampInNullableStruct`, now also covering strings, binaries, arrays 
and maps). `gluten-lance` keeps only the checks that hold for any backend: the 
write type, sharding and blob columns.
   
   Sounds good on #13648. Happy for this one to go first, and ping me if the 
rebase gets in the way.


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