yaooqinn commented on code in PR #47294: URL: https://github.com/apache/spark/pull/47294#discussion_r1678963389
########## sql/core/src/test/resources/sql-tests/inputs/url-functions.sql: ########## @@ -17,4 +17,10 @@ select url_encode(null); select url_decode('https%3A%2F%2Fspark.apache.org'); select url_decode('http%3A%2F%2spark.apache.org'); select url_decode('inva lid://user:pass@host/file\\;param?query\\;p2'); -select url_decode(null); \ No newline at end of file +select url_decode(null); + +-- try_url_decode function +select try_url_decode('https%3A%2F%2Fspark.apache.org'); +select try_url_decode('http%3A%2F%2spark.apache.org'); +select try_url_decode('inva lid://user:pass@host/file\\;param?query\\;p2'); +select try_url_decode(null); Review Comment: ```suggestion select try_url_decode(null); ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org