shivusondur commented on a change in pull request #25632: 
[SPARK-28809][DOC][SQL]Document SHOW TABLE in SQL Reference
URL: https://github.com/apache/spark/pull/25632#discussion_r340780242
 
 

 ##########
 File path: docs/sql-ref-syntax-aux-show-table.md
 ##########
 @@ -18,5 +18,153 @@ license: |
   See the License for the specific language governing permissions and
   limitations under the License.
 ---
+### Description
 
-**This page is under construction**
+`SHOW TABLE EXTENDED` will show information for all tables matching the given 
regular expression.
+Output includes basic table information and file system information like `Last 
Access`, 
+`Created By`, `Type`, `Provider`, `Table Properties`, `Location`, `Serde 
Library`, `InputFormat`, 
+`OutputFormat`, `Storage Properties`, `Partition Provider`, `Partition 
Columns` and `Schema`.
+
+Users cannot use regular expression for the table name if a partition 
specification is present. It will output 
 
 Review comment:
   @srowen 
   If the PARTITION key present in the query, the pattern mentioned in LIKE 
will not be treated as a regex. It will be treated as normal name.
   
   for example. **If we mention the regex with LIKE and PARTITION keyword, it 
fails like below.**
   
![image](https://user-images.githubusercontent.com/7912929/67885787-3410c780-fb6e-11e9-9a57-012d8a946670.png)
   
   **But if mention the full name like below it works**
   
![image](https://user-images.githubusercontent.com/7912929/67885883-63273900-fb6e-11e9-97e2-2ea705ff0b8a.png)
   
   Is it better to mention this exception scenario in the examples section?
   
   

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