konjac 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_r349483372
 
 

 ##########
 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]
 
 Review comment:
   I find some docs(SHOW TABLE, ALTER TABLE, TRUNCATE TABLE) exclude the 
keyword PARTITION from `partition_spec`. 
   Maybe we should keep them aligned.

----------------------------------------------------------------
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]

Reply via email to