You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Feng Liu (JIRA)" <ji...@apache.org> on 2018/01/29 18:56:02 UTC

[jira] [Created] (SPARK-23259) Clean up legacy code around hive external catalog

Feng Liu created SPARK-23259:
--------------------------------

             Summary: Clean up legacy code around hive external catalog
                 Key: SPARK-23259
                 URL: https://issues.apache.org/jira/browse/SPARK-23259
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Feng Liu


Some legacy code around the hive metastore catalog need to be removed for further code improvement:
 # in HiveExternalCatalog: The `withClient` wrapper is not necessary for the private method `getRawTable`. 
 # in HiveClientImpl: The statement `runSqlHive()` is not necessary for the `addJar` method, after the jar being added to the single class loader.
 # in HiveClientImpl: There are some redundant code in both the `tableExists` and `getTableOption` method.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org