File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,7 @@ class SqlParser extends StandardTokenParsers with PackratParsers {
128128 protected val OUTER = Keyword (" OUTER" )
129129 protected val RIGHT = Keyword (" RIGHT" )
130130 protected val SELECT = Keyword (" SELECT" )
131+ protected val SEMI = Keyword (" SEMI" )
131132 protected val STRING = Keyword (" STRING" )
132133 protected val SUM = Keyword (" SUM" )
133134 protected val TRUE = Keyword (" TRUE" )
@@ -238,6 +239,7 @@ class SqlParser extends StandardTokenParsers with PackratParsers {
238239
239240 protected lazy val joinType : Parser [JoinType ] =
240241 INNER ^^^ Inner |
242+ LEFT ~ SEMI ^^^ LeftSemi |
241243 LEFT ~ opt(OUTER ) ^^^ LeftOuter |
242244 RIGHT ~ opt(OUTER ) ^^^ RightOuter |
243245 FULL ~ opt(OUTER ) ^^^ FullOuter
You can’t perform that action at this time.
0 commit comments