Skip to content

Commit 7900f15

Browse files
committed
feat: ArrayType nested literal
1 parent 6f82dd0 commit 7900f15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,10 +764,10 @@ object QueryPlanSerde extends Logging with CometExprShim {
764764
(Seq(CometConf.SCAN_NATIVE_ICEBERG_COMPAT, CometConf.SCAN_NATIVE_DATAFUSION)
765765
.contains(CometConf.COMET_NATIVE_SCAN_IMPL.get()) && dataType
766766
.isInstanceOf[ArrayType] && (!isComplexType(
767-
dataType.asInstanceOf[ArrayType].elementType))) || dataType
767+
dataType.asInstanceOf[ArrayType].elementType) || dataType
768768
.asInstanceOf[ArrayType]
769769
.elementType
770-
.isInstanceOf[ArrayType]) =>
770+
.isInstanceOf[ArrayType]))) =>
771771
val exprBuilder = LiteralOuterClass.Literal.newBuilder()
772772

773773
if (value == null) {

0 commit comments

Comments
 (0)