wangfei created SPARK-3793:
------------------------------

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

Reply via email to