You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DDL (in the README and in run-sample.sql) matches a column-subset variant of the data that we also had. The mismatch can be resolved either by updating the DDL in both files - or by uploading the column-subset version of the earthquake data.
The “create table earthquakes” instructions given at: https://github.com/Esri/gis-tools-for-hadoop/tree/master/samples/point-in-polygon-aggregation-hive no longer aligns with the schema of the data located at: https://github.com/Esri/gis-tools-for-hadoop/tree/master/samples/data/earthquake-data
(I’m guessing that the earthquake-data is occasionally pulled from a USGS or similar source, and they changed their column definitions?)
I had to insert an additional column “unknown” of type double in front of the Magnitude column.
For example, the instructions provide the following schema:
and a random sample line from the file (the unknown column is 80.0 and the magnitude is 6.5):
The schema that I used:
If corrected, this works:
If magnitude still points to the wrong column, you will see:
The text was updated successfully, but these errors were encountered: