Last active
August 18, 2022 22:31
-
-
Save ashrafuzzaman/83942963eaed23a1e230f39d9de3a447 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE EXTERNAL TABLE events ( | |
name string, | |
user string, | |
variation string, | |
referrer string, | |
timestamp string, | |
metadata string | |
) | |
ROW FORMAT serde 'org.openx.data.jsonserde.JsonSerDe' | |
with serdeproperties ( 'paths'='name, user, variation, referrer, timestamp, metadata' ) | |
LOCATION 's3://newscred-production-logs/cloudfront/widgets-events-json'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment