Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Compatibility issues:
1. org.apache.spark.sql.hive.client.HiveClientImpl use AddPartitionDesc(db, table, ignoreIfExists) to create partitions, while Hive 0.12 doesn't have this constructor for AddPartitionDesc.
2. HiveClientImpl uses PartitionDropOptions when dropping partition, however, PartitionDropOptions doesn't exist in Hive 0.12.
3. Hive 0.12 doesn't support adding permanent functions. It is not valid to call "org.apache.hadoop.hive.ql.metadata.Hive.createFunction", "org.apache.hadoop.hive.ql.metadata.Hive.alterFunction", and "org.apache.hadoop.hive.ql.metadata.Hive.alterFunction"
4. org.apache.spark.sql.hive.client.HiveClient doesn't have enough test coverage.