Saving all output to "!!{outputDirectory}!!/auto_join25.q.raw". Enter "record" with no arguments to stop it. >>> !run !!{qFileDirectory}!!/auto_join25.q >>> set hive.auto.convert.join = true; No rows affected >>> set hive.mapjoin.localtask.max.memory.usage = 0.0001; No rows affected >>> set hive.mapjoin.check.memory.rows = 2; No rows affected >>> >>> CREATE TABLE dest1(key INT, value STRING) STORED AS TEXTFILE; No rows affected >>> >>> FROM srcpart src1 JOIN src src2 ON (src1.key = src2.key) INSERT OVERWRITE TABLE dest1 SELECT src1.key, src2.value where (src1.ds = '2008-04-08' or src1.ds = '2008-04-09' )and (src1.hr = '12' or src1.hr = '11'); '_col0','_col1' No rows selected >>> >>> SELECT sum(hash(dest1.key,dest1.value)) FROM dest1; '_c0' '407444119660' 1 row selected >>> >>> >>> >>> CREATE TABLE dest_j2(key INT, value STRING) STORED AS TEXTFILE; No rows affected >>> >>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) JOIN src src3 ON (src1.key + src2.key = src3.key) INSERT OVERWRITE TABLE dest_j2 SELECT src1.key, src3.value; '_col0','_col1' No rows selected >>> >>> SELECT sum(hash(dest_j2.key,dest_j2.value)) FROM dest_j2; '_c0' '33815990627' 1 row selected >>> >>> CREATE TABLE dest_j1(key INT, value STRING) STORED AS TEXTFILE; No rows affected >>> >>> FROM src src1 JOIN src src2 ON (src1.key = src2.key) INSERT OVERWRITE TABLE dest_j1 SELECT src1.key, src2.value; '_col0','_col1' No rows selected >>> >>> SELECT sum(hash(dest_j1.key,dest_j1.value)) FROM dest_j1; '_c0' '101861029915' 1 row selected >>> >>> !record