第七章_抽样查询
--1. 语法
tablesample(bucket x out of y)
注意 : x 必须 <= y
--2. 案例
select * from home.ods_front_log_dd tablesample(bucket 1 out of 4 on log_id);
--1. 语法
tablesample(bucket x out of y)
注意 : x 必须 <= y
--2. 案例
select * from home.ods_front_log_dd tablesample(bucket 1 out of 4 on log_id);