Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
liugddx committed Feb 5, 2024
1 parent 4fb7abd commit 81fa6ad
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@
"sql-manual/sql-functions/string-functions/substring-index",
"sql-manual/sql-functions/string-functions/money-format",
"sql-manual/sql-functions/string-functions/parse-url",
"sql-manual/sql-functions/string-functions/url-decode",
"sql-manual/sql-functions/string-functions/convert-to",
"sql-manual/sql-functions/string-functions/extract-url-parameter",
"sql-manual/sql-functions/string-functions/uuid",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,3 +291,12 @@ STRING3

-- !sql_url_decode --
https://doris.apache.org/zh-CN/docs/sql-manual/sql-functions/string-functions

-- !sql_url_decode_empty --


-- !sql_url_decode_null --
NULL

-- !sql_url_decode_invalid_url --
This is not a url
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ suite("nereids_scalar_fn_U") {
sql "select user() from fn_test"
sql "select user() from fn_test_not_nullable"
qt_sql_url_decode "select url_decode('https%3A%2F%2Fdoris.apache.org%2Fzh-CN%2Fdocs%2Fsql-manual%2Fsql-functions%2Fstring-functions')"
qt_sql_url_decode_empty "select url_decode('');"
qt_sql_url_decode_null "select url_decode(null);"
qt_sql_url_decode_invalid_url "select url_decode('This is not a url');"
}

0 comments on commit 81fa6ad

Please sign in to comment.