Created
April 19, 2017 20:23
-
-
Save timrobertson100/cbf04db9509097256739d02dc06b861b to your computer and use it in GitHub Desktop.
Export for JW
This file contains hidden or 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
| SET hive.exec.compress.output = true; | |
| SET avro.output.codec = gzip; | |
| CREATE TABLE tim.jw1 STORED AS avro AS | |
| SELECT * FROM prod_a.occurrence_hdfs | |
| WHERE | |
| dynamicProperties is not null or | |
| occurrenceRemarks is not null or | |
| organismRemarks is not null or | |
| fieldNotes is not null | |
| AND datasetKey!='4fa7b334-ce0d-4e88-aaae-2e0c138d049e' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment