Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. --
  2. -- This will register the "planet" table within your AWS account
  3. --
  4. CREATE EXTERNAL TABLE planet (
  5. id BIGINT,
  6. type STRING,
  7. tags MAP<STRING,STRING>,
  8. lat DECIMAL(9,7),
  9. lon DECIMAL(10,7),
  10. nds ARRAY<STRUCT<ref: BIGINT>>,
  11. members ARRAY<STRUCT<type: STRING, ref: BIGINT, role: STRING>>,
  12. changeset BIGINT,
  13. timestamp TIMESTAMP,
  14. uid BIGINT,
  15. user STRING,
  16. version BIGINT
  17. )
  18. STORED AS ORCFILE
  19. LOCATION 's3://osm-pds/planet/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement