customer.sql 252 B

123456789101112
  1. create database if not exists ${DB};
  2. use ${DB};
  3. drop table if exists customer;
  4. create table customer
  5. stored as ${FILE}
  6. TBLPROPERTIES('orc.bloom.filter.columns'='*','orc.compress'='ZLIB')
  7. as select * from ${SOURCE}.customer
  8. cluster by C_MKTSEGMENT
  9. ;