Open mpharding opened 8 years ago
It looks like ST_LineString
is returning a null and ST_GeodesicLengthWGS84
is logging the error because the geometry is null. My guess is that one or more of your records in the larger dataset has invalid/null values for lat
and lon
, which is causing ST_LineString
to return null.
Hmm, the log entry above makes it look like an ST_Geometry function is throwing NPE when it should instead log invalid null argument.
@hardboy111 Were you able to double check your data to see if any of your records in the larger dataset have invalid or null values for your lat and lon?
In the Hadoop YARN log for a container I am seeing these errors:
2016-07-12 20:10:55,516 [ERROR] [TezChild] |hive.ST_LineString|: Internal error - ST_LineString: java.lang.NullPointerException. 2016-07-12 20:10:55,517 [ERROR] [TezChild] |hive.ST_SetSRID|: Invalid arguments - one or more arguments are null. 2016-07-12 20:10:55,517 [ERROR] [TezChild] |hive.ST_GeodesicLengthWGS84|: Invalid arguments - one or more arguments are null.
The query im running is:
When I run this on a few thousand records it works fine but when I run on over 54k I see these problems.
Any ideas why?