morrySnow commented on code in PR #1804: URL: https://github.com/apache/doris-website/pull/1804#discussion_r1917800466
########## docs/sql-manual/sql-functions/table-valued-functions/s3.md: ########## @@ -24,95 +24,74 @@ specific language governing permissions and limitations under the License. --> -## S3 +## Describe Review Comment: ```suggestion ## Description ``` ########## i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/table-valued-functions/s3.md: ########## @@ -24,86 +24,73 @@ specific language governing permissions and limitations under the License. --> -## S3 - -### Name - -s3 - ## 描述 S3 表函数(table-valued-function,tvf),可以让用户像访问关系表格式数据一样,读取并访问 S3 兼容的对象存储上的文件内容。目前支持`csv/csv_with_names/csv_with_names_and_types/json/parquet/orc`文件格式。 -**语法** +## 语法 ```sql -s3( - "uri" = "..", - "s3.access_key" = "...", - "s3.secret_key" = "...", - "s3.region" = "...", - "s3.endpoint" = "...", - "format" = "csv", - "keyn" = "valuen", - ... - ); +S3( + "uri" = "<uri>", + "s3.access_key" = "<s3.access_key>", + "s3.secret_key" = "<s3.secret_key>", + "s3.region" = "<s3.region>", + "s3.endpoint" = "<s3.endpoint>", + "format" = "<format>" + [, <use_path_style>, <force_parsing_by_standard_uri>, <column_separator>, <line_delimiter>, <compress_type>, <read_json_by_line>, <strip_outer_array>, <json_root>, <jsonpaths>, <num_as_string>, <fuzzy_parse>, <trim_double_quotes>, <skip_lines>, <path_partition_keys>, <resource>] Review Comment: ```suggestion "uri" = "<uri>", "s3.access_key" = "<s3_access_key>", "s3.secret_key" = "<s3_secret_key>", "s3.region" = "<s3_region>", "s3.endpoint" = "<s3_endpoint>", "format" = "<format>" [, "<optional_property_key>" = "<optional_property_value>" [, ...] ] ``` 然后在可选参数中使用表格介绍 `<optional_property_key>` -- 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