dongjoon-hyun commented on a change in pull request #26635:
[SPARK-28812][SQL][DOC] Document SHOW PARTITIONS in SQL Reference
URL: https://github.com/apache/spark/pull/26635#discussion_r349899874
##########
File path: docs/sql-ref-syntax-aux-show-partitions.md
##########
@@ -18,5 +18,96 @@ license: |
See the License for the specific language governing permissions and
limitations under the License.
---
+### Description
-**This page is under construction**
+The `SHOW PARTITIONS` statement is used to list partitions of a table. An
optional
+partition spec may be specified to return the partitions matching the supplied
+partition spec.
+
+### Syntax
+{% highlight sql %}
+SHOW PARTITIONS table_identifier [partition_spec]
+{% endhighlight %}
+
+### Parameters
+<dl>
+ <dt><code><em>table_identifier</em></code></dt>
Review comment:
If you think so, you are trying to do two things in this single PR.
You had better follow the existing `table_name` in this PR first. Then, you
can create another PR to adjust all of them from the docs. In general, we
didn't agree your suggestion is good or bad. In worst case, you know that your
suggestion can be rejected or we may choose another 3rd option.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]