warehouse.sql 1003 B

1234567891011121314151617181920212223
  1. create database if not exists ${DB};
  2. use ${DB};
  3. drop table if exists warehouse;
  4. create external table warehouse(
  5. w_warehouse_sk int
  6. , w_warehouse_id string
  7. , w_warehouse_name string
  8. , w_warehouse_sq_ft int
  9. , w_street_number string
  10. , w_street_name string
  11. , w_street_type string
  12. , w_suite_number string
  13. , w_city string
  14. , w_county string
  15. , w_state string
  16. , w_zip string
  17. , w_country string
  18. , w_gmt_offset float
  19. )
  20. row format delimited fields terminated by '|'
  21. location '${LOCATION}';