viirya commented on code in PR #168:
URL:
https://github.com/apache/arrow-datafusion-comet/pull/168#discussion_r1513351238
##########
spark/src/main/scala/org/apache/comet/serde/QueryPlanSerde.scala:
##########
@@ -1494,7 +1500,10 @@ object QueryPlanSerde extends Logging with
ShimQueryPlanSerde {
case a @ Coalesce(_) =>
val exprChildren = a.children.map(exprToProtoInternal(_, inputs))
- scalarExprToProto("coalesce", exprChildren: _*)
+ val childExpr = scalarExprToProto("coalesce", exprChildren: _*)
+ // TODO: Remove this once we have new DataFusion release which
includes
+ // the fix: https://github.com/apache/arrow-datafusion/pull/9459
+ castToProto(None, a.dataType, childExpr)
Review Comment:
This is a workaround for now before we have new DataFusion release that
includes the fix: https://github.com/apache/arrow-datafusion/pull/9459
--
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]