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

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

    [ https://issues.apache.org/jira/browse/SPARK-23259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343814#comment-16343814 ] 

Apache Spark commented on SPARK-23259:
--------------------------------------

User 'liufengdb' has created a pull request for this issue:
https://github.com/apache/spark/pull/20425

> 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
>            Priority: Major
>
> 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