You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2018/08/20 19:08:00 UTC

[jira] [Created] (HIVE-20428) HiveStreamingConnection should use addPartition if not exists API

Prasanth Jayachandran created HIVE-20428:
--------------------------------------------

             Summary: HiveStreamingConnection should use addPartition if not exists API
                 Key: HIVE-20428
                 URL: https://issues.apache.org/jira/browse/HIVE-20428
             Project: Hive
          Issue Type: New Feature
          Components: Streaming, Transactions
    Affects Versions: 4.0.0, 3.2.0
            Reporter: Prasanth Jayachandran


[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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)