sharmabhaskar commented on issue #13231: [SPARK-15453] [SQL] Sort Merge Join to 
use bucketing metadata to optimize query plan
URL: https://github.com/apache/spark/pull/13231#issuecomment-501110631
 
 
   @tejasapatil I am facing the same issue while joining to bucketed tables . I 
am sung spark 2,2 in mapR distribution:
   I have two tables :
   table A : bucketed on key_column ( 20 buckets )
   table B : portioned on year and bucketed on key_columns( 20 buckets )
   
   But while joining both the tables on key_columns the query is doing both 
sort and exchange:
   [count#1311L])
             +- *Project
                +- *SortMergeJoin [key_column#1079], [key_column#1218],Inner
   sort step:                :- *Sort [key_column#1079 ASC NULLS FIRST], false, 0
   exchange step:            :  +- Exchange hashpartitioning(key_column#1079, 
200)
                   :     +- *Filter isnotnull(key_column#1079)

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to