morrySnow commented on code in PR #1812: URL: https://github.com/apache/doris-website/pull/1812#discussion_r1918883632
########## docs/sql-manual/sql-functions/table-valued-functions/catalogs.md: ########## @@ -24,27 +24,23 @@ specific language governing permissions and limitations under the License. --> -## `catalogs` +## Description -### Name +The `CATALOGS()` function generates a temporary `catalogs` table, allowing you to view information about all the catalogs created in the current Doris instance. The result combines the information from `show catalogs` and `show catalog xxx`. +This function is used in the `FROM` clause, making it easier to query and analyze catalog data in Doris. -catalogs - - -### description - -The table function generates a temporary table of catalogs to view the information of the catalogs created in the current Doris. - -This function is used in the from clause. - -#### syntax - -`catalogs()` +## Syntax +```sql +CATALOGS() +``` -Catalogs () table structure: +## RETURN VALUE Review Comment: 只需要首字母大写 Return Value -- 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