zhztheplayer commented on code in PR #7620:
URL: https://github.com/apache/incubator-gluten/pull/7620#discussion_r1808278770
##########
backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala:
##########
@@ -2095,7 +2095,7 @@ class MiscOperatorSuite extends
VeloxWholeStageTransformerSuite with AdaptiveSpa
)
checkNullTypeRepartition(
spark.table("lineitem").selectExpr("null as x", "null as
y").repartition(),
- 1
+ 0
Review Comment:
Query plan changed from
```
VeloxColumnarToRow
+- ShuffleQueryStage 0
+- ColumnarExchange SinglePartition, REBALANCE_PARTITIONS_BY_NONE,
[plan_id=979], [shuffle_writer_type=hash], [OUTPUT] ArraySeq(x:NullType,
y:NullType), [OUTPUT] ArraySeq(x:NullType, y:NullType)
+- VeloxResizeBatches 1024, 2147483647
+- RowToVeloxColumnar
+- *(1) Project [null AS x#296, null AS y#297]
+- *(1) ColumnarToRow
+- FileScan parquet [] Batched: true, DataFilters: [],
Format: Parquet, Location: InMemoryFileIndex(1
paths)[file:/opt/gluten/backends-velox/target/scala-2.13/test-classes/tpch-da...,
PartitionFilters: [], PushedFilters: [], ReadSchema: struct<>
```
to
```
VeloxColumnarToRow
+- ShuffleQueryStage 0
+- ColumnarExchange SinglePartition, REBALANCE_PARTITIONS_BY_NONE,
[plan_id=957], [shuffle_writer_type=hash], [OUTPUT] ArraySeq(x:NullType,
y:NullType), [OUTPUT] ArraySeq(x:NullType, y:NullType)
+- VeloxResizeBatches 1024, 2147483647
+- ^(12) ProjectExecTransformer [null AS x#296, null AS y#297]
+- ^(12) NativeFileScan parquet [] Batched: true,
DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1
paths)[file:/opt/gluten/backends-velox/target/scala-2.13/test-classes/tpch-da...,
PartitionFilters: [], PushedFilters: [], ReadSchema: struct<>
```
--
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]