Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21621#discussion_r197611612
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
---
@@ -199,7 +199,7 @@ case class ArraysZip(children: Seq[Expression]) extends
Expression with ExpectsI
""".stripMargin
}
- val splittedGetValuesAndCardinalities = ctx.splitExpressions(
+ val splittedGetValuesAndCardinalities =
ctx.splitExpressionsWithCurrentInputs(
--- End diff --
yes, you're 100% right. That's why in the UT I added I am testing both
cases.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]