morrySnow commented on code in PR #1926:
URL: https://github.com/apache/doris-website/pull/1926#discussion_r1928057295


##########
docs/sql-manual/sql-statements/types/SHOW-TYPECAST.md:
##########
@@ -54,13 +76,22 @@ Origin Type: TIMEV2
 **************************** 3. row ******************** ******
 Origin Type: TIMEV2
   Cast Type: TIMEV2
-
-3 rows in set (0.00 sec)
 ```
 
-## Keywords
-
-SHOW, TYPECAST
-
+- View all type casts in the current session's database
 
+```sql
+SHOW TYPE_CAST;
+```
+```text
+**************************** 1. row ******************** ******
+Origin Type: TIMEV2
+  Cast Type: TIMEV2
+**************************** 2. row ******************** ******
+Origin Type: TIMEV2
+  Cast Type: TIMEV2
+**************************** 3. row ******************** ******
+Origin Type: TIMEV2
+  Cast Type: TIMEV2

Review Comment:
   用表格形式的返回结果,不要用 \G 的



##########
docs/sql-manual/sql-statements/types/SHOW-TYPECAST.md:
##########
@@ -29,20 +29,42 @@ under the License.
 
 View all type cast under the database. If the user specifies a database, then 
view the corresponding database, otherwise directly query the database where 
the current session is located
 
-Requires `SHOW` permission on this database
 
 ## Syntax
 
 ```sql
-SHOW TYPE_CAST [IN|FROM db]
+SHOW TYPE_CAST [ IN | FROM <db>]

Review Comment:
   ```suggestion
   SHOW TYPE_CAST [ { IN | FROM } <db>]
   ```



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

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to