dilipbiswal commented on a change in pull request #26721: [SPARK-30085][SQL][DOC] Standardize partition spec in sql reference URL: https://github.com/apache/spark/pull/26721#discussion_r352361104
########## File path: docs/sql-ref-syntax-aux-show-partitions.md ########## @@ -26,19 +26,30 @@ partition spec. ### Syntax {% highlight sql %} -SHOW PARTITIONS table_name - [ PARTITION ( partition_col_name [ = partition_col_val ] [ , ... ] ) ] +SHOW PARTITIONS table_identifier [ partition_spec ] {% endhighlight %} ### Parameters <dl> - <dt><code><em>table_name</em></code></dt> - <dd>The name of an existing table.</dd> + <dt><code><em>table_identifier</em></code></dt> + <dd> + Specifies a table name, which may be optionally qualified with a database name.<br><br> + <b>Syntax:</b> + <code> + [ database_name. ] table_name + </code> + </dd> </dl> <dl> - <dt><code><em>PARTITION ( partition_col_name [ = partition_col_val ] [ , ... ] )</em></code></dt> - <dd>An optional parameter that specifies a comma separated list of key and value pairs for - partitions. When specified, the partitions that match the partition spec are returned.</dd> + <dt><code><em>partition_spec</em></code></dt> + <dd> + An optional parameter that specifies a comma separated list of key and value pairs Review comment: @huaxingao ditto as above. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org