jinhai created SPARK-33628:
------------------------------

             Summary: Use the Hive.getPartitionsByNames method instead of 
Hive.getPartitions in the HiveClientImpl
                 Key: SPARK-33628
                 URL: https://issues.apache.org/jira/browse/SPARK-33628
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.1, 3.0.0
            Reporter: jinhai
         Attachments: image-2020-12-02-16-56-36-274.png

When partitions are tracked by the catalog, compute all custom partition 
locations that may be relevant to the insertion job, especially when dynamic 
partitions, and the field staticPartitions is empty.
The poor performance of the method listPartitions results in a long period of 
no response at the Driver.

!image-2020-12-02-16-55-55-949.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to