liuyongvs opened a new pull request, #3238:
URL: https://github.com/apache/calcite/pull/3238

    STR_TO_MAP(string[, stringDelimiter[, keyValueDelimiter]])
   
   Returns a map after splitting the string into key/value pairs using 
delimiters. Default delimiters are ',' for stringDelimiter and ':' for 
keyValueDelimiter Both pairDelim and keyValueDelim are treated as regular 
expressions.
   
   ```
   Examples:
   
   > SELECT str_to_map('a:1,b:2,c:3', ',', ':');
   
   - {"a":"1","b":"2","c":"3"}
   
   > SELECT str_to_map('a');
    {"a":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: commits-unsubscr...@calcite.apache.org

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

Reply via email to