Github user viirya commented on the issue:
https://github.com/apache/spark/pull/15596
BTW, we can see if there is an exchange added for `CollectLimit` from
physical plan, e.g.,
CollectLimit 1
+- Exchange SinglePartition
+- *LocalLimit 1
+- *HashAggregate(keys=[str#227], functions=[count(1)],
output=[str#227, count(1)#235L])
+- Exchange hashpartitioning(str#227, 5)
+- *HashAggregate(keys=[str#227],
functions=[partial_count(1)], output=[str#227, count#241L])
+- *Project [str#227]
+- *BroadcastHashJoin [str#227], [str#233], Inner,
BuildRight
:- *Project [_2#224 AS str#227]
: +- *Filter isnotnull(_2#224)
: +- LocalTableScan [_1#223, _2#224]
+- BroadcastExchange
HashedRelationBroadcastMode(List(input[0, string, true]))
+- *Project [_2#224 AS str#233]
+- *Filter isnotnull(_2#224)
+- LocalTableScan [_1#223, _2#224]
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]