From 1e2d76e80a5c8fe09475904e87f01b19827da980 Mon Sep 17 00:00:00 2001 From: Xiao Li Date: Fri, 8 Nov 2019 22:39:07 -0800 Subject: [PATCH] [HOT-FIX] Fix the SQLBase.g4 ### What changes were proposed in this pull request? Remove the duplicate code See the build failure: https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Compile/job/spark-master-compile-maven-hadoop-3.2/986/ ### Why are the changes needed? Fix the compilation ### Does this PR introduce any user-facing change? No ### How was this patch tested? The existing tests Closes #26445 from gatorsmile/hotfixPraser. Authored-by: Xiao Li Signed-off-by: Xiao Li --- .../antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 index f3d1e1062a..5e66e9c92e 100644 --- a/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 +++ b/sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 @@ -669,10 +669,6 @@ multipartIdentifier : parts+=errorCapturingIdentifier ('.' parts+=errorCapturingIdentifier)* ; -multipartIdentifierList - : multipartIdentifier (',' multipartIdentifier)* - ; - tableIdentifier : (db=errorCapturingIdentifier '.')? table=errorCapturingIdentifier ;