comphead commented on issue #3929:
URL:
https://github.com/apache/datafusion-comet/issues/3929#issuecomment-5040531119
`array_compact` gets rewritten in runtime to lambda expression
```
lazy val lv = NamedLambdaVariable("arg",
child.dataType.asInstanceOf[ArrayType].elementType, true)
lazy val lambda = LambdaFunction(isNotNull(lv), Seq(lv))
override lazy val replacement: Expression =
KnownNotContainsNull(ArrayFilter(child, lambda))
```
So for `array_compact` we may want to fallback to codegen for now
--
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]