| 123456789101112131415161718192021222324252627282930313233343536373839 |
- create database if not exists ${DB};
- use ${DB};
- drop table if exists store;
- create external table store
- (
- s_store_sk int,
- s_store_id string,
- s_rec_start_date string,
- s_rec_end_date string,
- s_closed_date_sk int,
- s_store_name string,
- s_number_employees int,
- s_floor_space int,
- s_hours string,
- s_manager string,
- s_market_id int,
- s_geography_class string,
- s_market_desc string,
- s_market_manager string,
- s_division_id int,
- s_division_name string,
- s_company_id int,
- s_company_name string,
- s_street_number string,
- s_street_name string,
- s_street_type string,
- s_suite_number string,
- s_city string,
- s_county string,
- s_state string,
- s_zip string,
- s_country string,
- s_gmt_offset float,
- s_tax_precentage float
- )
- row format delimited fields terminated by '|'
- location '${LOCATION}';
|