You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2021/01/04 12:43:42 UTC

[hive] branch branch-2 updated: HIVE-24571: Redundant code in SemanticAnalyzer.java file (#1770)

This is an automated email from the ASF dual-hosted git repository.

kgyrtkirk pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 135629b  HIVE-24571: Redundant code in SemanticAnalyzer.java file (#1770)
135629b is described below

commit 135629b8d6b538fed092641537034a9fbc59c7a0
Author: zzccctv <zz...@163.com>
AuthorDate: Mon Jan 4 20:43:27 2021 +0800

    HIVE-24571: Redundant code in SemanticAnalyzer.java file (#1770)
    
    Co-authored-by: zhangzc <zh...@missfresh.cn>
---
 ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
index 2a62062..ad4765f 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
@@ -10993,7 +10993,6 @@ public class SemanticAnalyzer extends BaseSemanticAnalyzer {
       ASTNode rewrittenTree;
       // Parse the rewritten query string
       // check if we need to ctx.setCmd(rewrittenQuery);
-      ParseDriver pd = new ParseDriver();
       try {
         rewrittenTree = ParseUtils.parse(rewrittenQuery);
       } catch (ParseException e) {