malinjawi opened a new issue, #13806: URL: https://github.com/apache/gluten/issues/13806
Gluten reads Lance tables natively, but writes still go through lance-spark's row writer, so Velox batches get converted back to rows on every write. This issue tracks writing them natively. lance-spark now has what we need: a fragment scan exported as an Arrow C stream (lance-format/lance-spark#778, used by the native read), a way for another writer to commit its own fragments (lance-format/lance-spark#715), and the table's resolved write settings (lance-format/lance-spark#892). The last two are in 0.9.0-beta.2. Each task passes its Velox batches to Lance over the Arrow C Data Interface, and lance-spark commits the fragments on the driver as usual. Anything not supported yet falls back to lance-spark's writer, so these can land one at a time. We're targeting Spark 3.5+ (3.4 is being dropped in #13573). Comment here if you'd like to pick something up. **Operations** - [ ] `INSERT INTO`, `CREATE TABLE AS SELECT` and other appends #13595 - [ ] Overwrite and `REPLACE TABLE AS SELECT` #13595 - [ ] `UPDATE`, `DELETE` and `MERGE INTO` - [ ] Column backfills (`ADD COLUMNS ... FROM`, `UPDATE COLUMNS ... FROM`) - [ ] Tables with a sharding key **Types** - [ ] Structs, arrays and maps #13595 - [ ] Vector columns #13595 - [ ] Blob columns - [ ] Large strings and binaries, unsigned integers, Float16, nested vectors and `TimestampNTZ` **Writer** - [ ] Count Lance's write memory as Spark task memory - [ ] Pass the table's Lance schema to the fragment writer (needs Lance's Java API) **Build and release** - [ ] Stable Lance build and CI #13732 - [ ] Move off the lance-spark beta before the next Gluten release #13527 -- 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]
