Commit 24ca7e74 by mengdongxing

Update tkdm_data_payment_detial_day.sql

parent 86c8f9e2
set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat;
set mapred.min.split.size.per.rack=100000000; set mapred.min.split.size.per.rack=100000000;
set mapred.min.split.size.per.node=100000000; set mapred.min.split.size.per.node=100000000;
...@@ -29,7 +28,7 @@ num_payment_cnt int, ...@@ -29,7 +28,7 @@ num_payment_cnt int,
amt_payment double amt_payment double
) )
PARTITIONED BY (ds string) PARTITIONED BY (ds string)
clustered by (appid,deviceid) sorted by(appid,deviceid) into 4 buckets clustered by (deviceid) sorted by(deviceid,appid) into 4 buckets
ROW FORMAT DELIMITED ROW FORMAT DELIMITED
FIELDS TERMINATED BY '\t' FIELDS TERMINATED BY '\t'
STORED AS ORC STORED AS ORC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment