dilipbiswal commented on a change in pull request #28451:
URL: https://github.com/apache/spark/pull/28451#discussion_r419882287
##########
File path: docs/sql-ref-syntax-aux-show-partitions.md
##########
@@ -27,37 +27,28 @@ partition spec.
### Syntax
-{% highlight sql %}
+```sql
SHOW PARTITIONS table_identifier [ partition_spec ]
-{% endhighlight %}
+```
### Parameters
-<dl>
- <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_spec</em></code></dt>
- <dd>
+* **table_identifier**
+
+ Specifies a table name, which may be optionally qualified with a database
name.
+
+ **Syntax:** `[ database_name. ] table_name`
+
+* **partition_spec**
+
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.<br><br>
- <b>Syntax:</b>
- <code>
- PARTITION ( partition_col_name [ = partition_col_val ] [ , ... ] )
- </code>
- </dd>
-</dl>
+ for partitions. When specified, the partitions that match the partition
spec are returned.
Review comment:
@huaxingao just for consistency lets change "partition spec" to
"partition specification" ?
----------------------------------------------------------------
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]