wangyum commented on pull request #29120:
URL: https://github.com/apache/spark/pull/29120#issuecomment-846507897


   This change will introduce an additional shuffle. We can use 
`localCheckpoint` to workaround this issue:
   ```scala
   spark.range(100).createTempView("t1")
   spark.range(200).createTempView("t2")
   spark.sql("set spark.sql.autoBroadcastJoinThreshold=0")
   spark.sql("select t1.* from t1 join t2 on (t1.id = 
t2.id)").localCheckpoint().coalesce(1).show()
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to