Created
August 27, 2015 18:59
-
-
Save timrobertson100/c78a8aedfb754bd06ed5 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 TABLE tim.jw_uncertainty | |
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' | |
SELECT | |
coordinateUncertaintyInMeters, count(*) AS numRecords | |
FROM | |
prod_b.occurrence_hdfs | |
WHERE | |
decimalLatitude IS NOT NULL AND | |
decimalLongitude IS NOT NULL AND | |
hasCoordinateIssue = FALSE AND | |
coordinateUncertaintyInMeters IS NOT NULL | |
GROUP BY coordinateUncertaintyInMeters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment