You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wangfei (JIRA)" <ji...@apache.org> on 2014/10/07 03:18:34 UTC

[jira] [Closed] (SPARK-3793) use hiveconf when parse hive ql

     [ https://issues.apache.org/jira/browse/SPARK-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

wangfei closed SPARK-3793.
--------------------------
    Resolution: Fixed

should fix it in #2241

> use hiveconf when parse hive ql
> -------------------------------
>
>                 Key: SPARK-3793
>                 URL: https://issues.apache.org/jira/browse/SPARK-3793
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: wangfei
>
> Now in spark hive it parse sql use 
> def getAst(sql: String): ASTNode = ParseUtils.findRootNonNullToken((new ParseDriver).parse(sql))
> this is ok in hive-0.12, but will lead to NPE version in hive-0.13
> So add hiveconf here to make it more general to compatible with hive-0.12 and hive-0.13



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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