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
367 stars 159 forks source link

Hive-4.0 compatibility #189

Open randallwhitman opened 1 year ago

randallwhitman commented 1 year ago

Make Spatial-Framework-for-Hadoop work with Hive v4 which certainly has breaking changes from v3. Consider fully removing support for obsolete Hive versions (v0 at least, maybe v1 .. 2.2), then if needed for semver, bump SF4H to v3. (maybe not required? - https://semver.org/#what-should-i-do-if-i-update-my-own-dependencies-without-changing-the-public-api) hive/src/main/java/com/esri/hadoop/hive/serde/BaseJsonSerDe.java:[74,1] error: method does not override or implement a method from a supertype

randallwhitman commented 11 months ago
    <profile>
      <id>hive-4.0</id>
      <properties>
        <hive.version>4.0.0-beta-1</hive.version>
      </properties>
    </profile>

mvn clean test -fn -Phadoop-3.3 -Phive-4.0

[INFO] Spatial Framework for Hadoop ....................... SUCCESS [  0.130 s]
[INFO] Spatial JSON Utilities ............................. SUCCESS [ 21.153 s]
[INFO] Spatial Framework for Hive and SparkSQL ............ SUCCESS [  2.857 s]