This is an automated email from the ASF dual-hosted git repository.
yangzy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git
The following commit(s) were added to refs/heads/main by this push:
new dbc3a46656 [GLUTEN-8565][VL] Remove unused code in velox batches #8602
dbc3a46656 is described below
commit dbc3a46656844574a10fcf766f5266b6e808cb8c
Author: Arnav Balyan <[email protected]>
AuthorDate: Fri Jan 24 11:39:58 2025 +0530
[GLUTEN-8565][VL] Remove unused code in velox batches #8602
---
.../org/apache/gluten/columnarbatch/VeloxColumnarBatches.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/backends-velox/src/main/java/org/apache/gluten/columnarbatch/VeloxColumnarBatches.java
b/backends-velox/src/main/java/org/apache/gluten/columnarbatch/VeloxColumnarBatches.java
index 33f02be089..6e37db885c 100644
---
a/backends-velox/src/main/java/org/apache/gluten/columnarbatch/VeloxColumnarBatches.java
+++
b/backends-velox/src/main/java/org/apache/gluten/columnarbatch/VeloxColumnarBatches.java
@@ -47,15 +47,6 @@ public final class VeloxColumnarBatches {
COMPREHENSIVE_TYPE_VELOX,
ColumnarBatches.getComprehensiveLightBatchType(batch)));
}
- public static void checkNonVeloxBatch(ColumnarBatch batch) {
- if (ColumnarBatches.isZeroColumnBatch(batch)) {
- return;
- }
- Preconditions.checkArgument(
- !isVeloxBatch(batch),
- String.format("Comprehensive batch type is already %s",
COMPREHENSIVE_TYPE_VELOX));
- }
-
public static ColumnarBatch toVeloxBatch(ColumnarBatch input) {
ColumnarBatches.checkOffloaded(input);
if (ColumnarBatches.isZeroColumnBatch(input)) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]