superdiaodiao commented on code in PR #24773:
URL: https://github.com/apache/flink/pull/24773#discussion_r1623199122
##########
flink-python/pyflink/table/expression.py:
##########
@@ -1273,6 +1273,23 @@ def locate(self, s: Union[str, 'Expression[str]'],
else:
return _ternary_op("locate")(self, s, pos)
+ def url_decode(self) -> 'Expression[str]':
+ """
+ Decodes a given string in 'application/x-www-form-urlencoded' format
using the UTF-8
+ encoding scheme. If input is null, or there is an issue with the
decoding process(such
+ as encountering an illegal escape pattern), or the encoding scheme is
not supported,
+ the function returns null.
+ """
+ return _unary_op("urlDecode")(self)
+
+ def url_encode(self) -> 'Expression[str]':
+ """
+ Translates a string into 'application/x-www-form-urlencoded' format
using the UTF-8
+ encoding scheme. If input is null, or there is an issue with the
encoding process, or
Review Comment:
added
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]