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

JSON SerDe Compatibility with Hive-3.1 #165

Closed randallwhitman closed 3 years ago

randallwhitman commented 5 years ago

The tests pass with -Phive-3.0 but with -Phive-3.1 throw multiple errors:

  TestTimeParse(com.esri.hadoop.hive.serde.TestEsriJsonSerDe): org.apache.hadoop.hive.serde2.io.TimestampWritableV2 cannot be cast to org.apache.hadoop.hive.serde2.io.TimestampWritable
  TestEpochWrite(com.esri.hadoop.hive.serde.TestEsriJsonSerDe): org.apache.hadoop.hive.serde2.io.DateWritable cannot be cast to org.apache.hadoop.hive.serde2.io.DateWritableV2
  TestEpochWrite(com.esri.hadoop.hive.serde.TestGeoJsonSerDe): org.apache.hadoop.hive.serde2.io.DateWritable cannot be cast to org.apache.hadoop.hive.serde2.io.DateWritableV2
randallwhitman commented 4 years ago

I have updated code that is compatible with Hive-3.1 (only, so far), but had errors trying to push branch to GH. https://gist.github.com/randallwhitman/50eaccccb4b9d6c9aafbc8d394364cda