Esri / spatial-framework-for-hadoop

The Spatial Framework for Hadoop allows developers and data scientists to use the Hadoop data processing system for spatial data analysis.
Apache License 2.0
363 stars 160 forks source link

ST_Bin: decimal bin size argument #164

Closed randallwhitman closed 5 years ago

randallwhitman commented 5 years ago

@doublebyte1 Are you able to build this branch from source and test with Hive-2.3 version? Relates Esri/gis-tools-for-hadoop#82

randallwhitman commented 5 years ago

Hive-2.3.5 with master (v2.1.0):

hive> SELECT ST_Bin(0.001, ST_Point(0,0));
FAILED: SemanticException [Error 10014]: Line 1:7 Wrong arguments '0': Argument 0 must be a number

Hive-2.3.5 with branch (v2.1.1/v2.2):

hive> SELECT ST_Bin(0.001, ST_Point(0,0));
4611686015463124500