Github user maryannxue commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21324#discussion_r188080851
  
    --- Diff: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4 ---
    @@ -398,7 +398,7 @@ hintStatement
         ;
     
     fromClause
    -    : FROM relation (',' relation)* (pivotClause | lateralView*)?
    +    : FROM relation (',' relation)* lateralView* pivotClause?
    --- End diff --
    
    FYI, I am doing this based on the ORACLE syntax definition. This "no PIVOT 
and LATERAL together" thing is listed as a restriction rather than reinforced 
in the parser rules in ORACLE. That said, I believe I should have done this in 
my first check-in. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to