maropu commented on a change in pull request #29056:
URL: https://github.com/apache/spark/pull/29056#discussion_r456171558
##########
File path: docs/sql-ref-syntax-qry-select.md
##########
@@ -43,11 +43,23 @@ While `select_statement` is defined as
```sql
SELECT [ hints , ... ] [ ALL | DISTINCT ] { named_expression [ , ... ] }
FROM { from_item [ , ...] }
+ [ PIVOT clause ]
+ [ LATERAL VIEW clause ] [ ... ]
[ WHERE boolean_expression ]
[ GROUP BY expression [ , ...] ]
[ HAVING boolean_expression ]
```
+While `PIVOT clause` is defined as
+```
+PIVOT ( { group_expression [ AS group_expression_alias ] } [ , ... ] FOR
column_list IN ( expression_list ) )
+```
+
+While `LATERAL VIEW clause` is defined as
+```
+LATERAL VIEW [ OUTER ] { generating_function (generating_function_expression)
[ table_function_alias ] AS column_alias [ , ... ] } [ ... ]
+```
+
Review comment:
We don't need this part because we already have the dedicated pages for
the syntaxes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]