diff --git a/extensions/chsql/docs/function_descriptions.csv b/extensions/chsql/docs/function_descriptions.csv index fa0d821..d0907f0 100644 --- a/extensions/chsql/docs/function_descriptions.csv +++ b/extensions/chsql/docs/function_descriptions.csv @@ -5,7 +5,7 @@ function,fun_type,description,comment,example "arrayJoin","macro","Unroll an array into multiple rows","","SELECT arrayJoin([1, 2, 3]);" "arrayMap","macro","Applies a function to each element of an array","","SELECT arrayMap(x -> x + 1, [1, 2, 3]);" "bitCount","macro","Counts the number of set bits in an integer","","SELECT bitCount(15);" -"ch_scan","table_macro","Query a remote ClickHouse server using HTTP/s API","Returns the query results","SELECT * FROM ch_scan('SELECT version()','https://play.clickhouse.com');;" +"ch_scan","table_macro","Query a remote ClickHouse server using HTTP/s API","Returns the query results","SELECT * FROM ch_scan('SELECT version()','https://play.clickhouse.com', format := 'parquet');" "domain","macro","Extracts the domain from a URL","","SELECT domain('https://clickhouse.com/docs');" "empty","macro","Check if a string is empty","","SELECT empty('');" "extractAllGroups","macro","Extracts all matching groups from a string using a regular expression","","SELECT extractAllGroups('(\\d+)', 'abc123');" @@ -86,7 +86,7 @@ function,fun_type,description,comment,example "tupleMultiply","macro","Performs element-wise multiplication between two tuples","","SELECT tupleMultiply((10, 20), (2, 5));" "tupleMultiplyByNumber","macro","Multiplies each element of a tuple by a number","","SELECT tupleMultiplyByNumber((10, 20), 3);" "tuplePlus","macro","Performs element-wise addition between two tuples","","SELECT tuplePlus((1, 2), (3, 4));" -"url","table_macro","Performs queries against remote URLs using the specified format","Supports JSON, CSV, PARQUET, TEXT, BLOB","SELECT url('https://urleng.com/test','JSON');" +"url","table_macro","Performs queries against remote URLs using the specified format","Supports JSON, CSV, PARQUET, TEXT, BLOB","SELECT * FROM url('https://urleng.com/test','JSON');" "JSONExtract","macro","Extracts JSON data based on key from a JSON object","","SELECT JSONExtract(json_column, 'user.name');" "JSONExtractString","macro","Extracts JSON data as a VARCHAR from a JSON object","","SELECT JSONExtractString(json_column, 'user.email');" "JSONExtractUInt","macro","Extracts JSON data as an unsigned integer from a JSON object","","SELECT JSONExtractUInt(json_column, 'user.age');"