Copilot commented on code in PR #13732: URL: https://github.com/apache/gluten/pull/13732#discussion_r4666319611
########## docs/backends/velox/get-started/VeloxLance.md: ########## @@ -33,12 +33,13 @@ Enable the `lance` profile alongside the Velox backend: mvn clean package -Pbackends-velox -Pspark-3.5 -Plance -DskipTests ``` -The read-only offload is entirely Velox-specific, so it lives under `backends-velox/src-lance` -(mirroring `backends-velox/src-iceberg`) rather than in a top-level module. Add `-Plance-test` to -also compile and run the Lance test suite: +As for Iceberg, the code is split in two. The `gluten-lance` module holds the parts that do not +depend on Velox, such as the scan and its offload rule. `backends-velox/src-lance` registers them +with the Velox backend and holds the tests that run them on Velox. Add `-Plance-test` to also +compile and run the Lance tests: ``` -mvn test -pl backends-velox -Pbackends-velox -Pspark-3.5 -Plance -Plance-test \ +mvn test -pl gluten-lance,backends-velox -am -Pbackends-velox -Pspark-3.5 -Plance -Plance-test \ Review Comment: This newly updated build command still invokes bare `mvn`, bypassing Gluten's required `./build/mvn` wrapper (which pins the Maven version and JVM flags). Please use the wrapper here so the documented Lance test command is reproducible with the repository's supported toolchain. ########## docs/backends/velox/get-started/VeloxLance.md: ########## @@ -33,12 +33,13 @@ Enable the `lance` profile alongside the Velox backend: mvn clean package -Pbackends-velox -Pspark-3.5 -Plance -DskipTests ``` -The read-only offload is entirely Velox-specific, so it lives under `backends-velox/src-lance` -(mirroring `backends-velox/src-iceberg`) rather than in a top-level module. Add `-Plance-test` to -also compile and run the Lance test suite: +As for Iceberg, the code is split in two. The `gluten-lance` module holds the parts that do not +depend on Velox, such as the scan and its offload rule. `backends-velox/src-lance` registers them +with the Velox backend and holds the tests that run them on Velox. Add `-Plance-test` to also Review Comment: This move leaves the developer guide inconsistent: `docs/backends/velox/developers/ArrowColumnarConversion.md:346-347` still tells contributors that `LanceScanTransformer` and `OffloadLanceScan` live under `backends-velox/src-lance`, but those files now live under `gluten-lance`. Following that guide leads to nonexistent paths and obscures the new module split; please update the referenced paths and the profile/module description there as part of this move. -- 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]
