[jira] [Created] (FLINK-14726) avoid creating new HiveShim instance every time when calling HiveShimLoader.loadHiveShim()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14726) avoid creating new HiveShim instance every time when calling HiveShimLoader.loadHiveShim()

Shang Yuanchun (Jira)
Bowen Li created FLINK-14726:
--------------------------------

             Summary: avoid creating new HiveShim instance every time when calling HiveShimLoader.loadHiveShim()
                 Key: FLINK-14726
                 URL: https://issues.apache.org/jira/browse/FLINK-14726
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
            Reporter: Bowen Li
            Assignee: Bowen Li
             Fix For: 1.10.0


HiveShim.loadHiveShim(hiveVersion) will return a new HiveShim instance every time. considering it's called many times across our code base, it's really inefficient to do so. We should cache hiveShim instances in a session



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