Skip to content

Instantly share code, notes, and snippets.

@krschultz
Created September 29, 2015 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krschultz/b8a7320c3f8fc6fce8c9 to your computer and use it in GitHub Desktop.
Save krschultz/b8a7320c3f8fc6fce8c9 to your computer and use it in GitHub Desktop.
create table dw_temp.com_gilt_mobile_tapstream_v3_PushTokenRegisteredSystemEvent929 distribute by hash (uuid)
as
select *
from rtd_query
( on (select file_key
from rtd_browser (
on(select 1)
filter_S3_files('raw/com.gilt.mobile.tapstream.v3.PushTokenRegisteredSystemEvent/2015/09/29')
)
)
partition by file_key
avro_schema_name('com.gilt.mobile.tapstream.v3.PushTokenRegisteredSystemEvent')
max_error_records(100)
verbose_logging('true'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment