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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to