snuyanzin commented on PR #24967:
URL: https://github.com/apache/flink/pull/24967#issuecomment-2224133227

   One more diff between MySQL and Flink behavior, however this I'm not sure 
need to fix since at least from my point of view MySQL's behavior is 
questionable
   MySQL
   ```sql
   SELECT  
JSON_UNQUOTE('"\\u0022\\u005c\\u005c\\u0075\\u0030\\u0030\\u0061\\u0061\\u0022"');
   SELECT  
JSON_UNQUOTE(JSON_UNQUOTE('"\\u0022\\u005c\\u005c\\u0075\\u0030\\u0030\\u0061\\u0061\\u0022"'));
   ```
   returns
   ```
   "\\u00aa"
   \u00aa  
   ```
   Flink
   ```sql
   SELECT  
JSON_UNQUOTE('"\u0022\u005c\u005c\u0075\u0030\u0030\u0061\u0061\u0022"');
   SELECT  
JSON_UNQUOTE(JSON_UNQUOTE('"\u0022\u005c\u005c\u0075\u0030\u0030\u0061\u0061\u0022"'));
   ```
   returns 
   ```
   "\\u00aa"
   ยช 
   ```


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to