Currently we support BroadcastExchange if it is under BroadcastHashJoin in Comet.
Besides broadcast join, BroadcastExchange can also occur under SubqueryBroadcastExec for dynamic pruning expression. Because Spark BroadcastExchange assumes it is row-based so we cannot simply transform BroadcastExchange under SubqueryBroadcastExec into Comet's broadcast operator.
We need to come out with a Comet SubqueryBroadcastExec which supports Comet's BroadcastExchange.
Hi @viirya, I would like to work on this. Seems like this might require some knowledge of spark codebase aswell, nevertheless will give it a shot, your guidance will be helpful 🙏🏾
What is the problem the feature request solves?
Currently we support
BroadcastExchange
if it is underBroadcastHashJoin
in Comet.Besides broadcast join,
BroadcastExchange
can also occur underSubqueryBroadcastExec
for dynamic pruning expression. Because SparkBroadcastExchange
assumes it is row-based so we cannot simply transformBroadcastExchange
underSubqueryBroadcastExec
into Comet's broadcast operator.We need to come out with a Comet
SubqueryBroadcastExec
which supports Comet'sBroadcastExchange
.Describe the potential solution
No response
Additional context
No response