Professional Documents
Culture Documents
Logging in Hive
conf/hive-log4j.properties –
bin/hive –hiveconf
hive.root.logger=DEBUG,console
hive.root.logger=WARN,DRFA
hive.log.dir=/tmp/${user.name}
hive.log.file=hive.log
log4j.threshhold=WARN
HIVE STREAMING
SELECT TRANSFORM (a, b) USING '/bin/sed s/4/10/' AS newA, newB FROM a;
join_table:
table_reference JOIN table_factor [join_condition]
| table_reference {LEFT|RIGHT|FULL} [OUTER] JOIN table_reference join_condition
| table_reference LEFT SEMI JOIN table_reference join_condition
| table_reference CROSS JOIN table_reference [join_condition] (as of Hive 0.10)
SET hive.exec.dynamic.partition=true;
SET hive.exec.max.dynamic.partitions=2048;
ET hive.exec.max.dynamic.partitions.pernode=256;
SET hive.exec.dynamic.partition.mode=non-strict
PARTITIONED BY (
year INT,
month INT,
day INT)