Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20428

HiveStreamingConnection should use addPartition if not exists API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0, 4.0.0
    • None
    • Streaming, Transactions
    • None

    Description

      https://github.com/apache/hive/blob/f280361374c6219d8734d5972c740d6d6c3fb7ef/streaming/src/java/org/apache/hive/streaming/HiveStreamingConnection.java#L379-L381

       

      catches AlreadyExistsException when adding partition. Instead use add_partitions API with ifNotExists set to true. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: