June 2018
Beginner to intermediate
210 pages
5h 12m
English
SMB is a join performed on bucket tables that have the same sorted, bucket, and join condition columns. It reads data from both bucket tables and performs common joins (map and reduce triggered) on the bucket tables. We need to enable the following properties to use SMB:
> SET hive.input.format=> org.apache.hadoop.hive.ql.io.BucketizedHiveInputFormat; > SET hive.auto.convert.sortmerge.join=true; > SET hive.optimize.bucketmapjoin=true; > SET hive.optimize.bucketmapjoin.sortedmerge=true; > SET hive.auto.convert.sortmerge.join.noconditionaltask=true;
Read now
Unlock full access