gatorsmile commented on issue #24706: [SPARK-23128][SQL] A new approach to do 
adaptive execution in Spark SQL
URL: https://github.com/apache/spark/pull/24706#issuecomment-501611416
 
 
   I just ran the following script
   ```
       withSQLConf(
           SQLConf.RUNTIME_REOPTIMIZATION_ENABLED.key -> "true",
           SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "80") {
         spark.sql(
           "SELECT * FROM testData join testData2 ON key = a where value = 
'1'").show(false)
         Thread.sleep(100000000)
       }
   ```
   
   In the details of SQL Tab, the plan has been changed to broadcast join, but 
the value of `isFinalPlan` is still false and the codegen id is wrong. 
   
   <img width="1335" alt="Screen Shot 2019-06-13 at 4 43 59 PM" 
src="https://user-images.githubusercontent.com/11567269/59418060-eda71000-8dfa-11e9-9bc3-3fef9a8f49c0.png";>

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


With regards,
Apache Git Services

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

Reply via email to