Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-15334

HiveClient facade not compatible with Hive 0.12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • 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.

      Attachments

        Activity

          People

            clockfly@gmail.com Xiang Zhong
            clockfly Sean Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: