[
https://issues.apache.org/jira/browse/SPARK-3793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159176#comment-14159176
]
Apache Spark commented on SPARK-3793:
-------------------------------------
User 'scwf' has created a pull request for this issue:
https://github.com/apache/spark/pull/2655
> 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: [email protected]
For additional commands, e-mail: [email protected]