Wennn opened a new pull request #23475: [SPARK-26552][SQL] Add a new function - regexp_to_map URL: https://github.com/apache/spark/pull/23475 ## What changes were proposed in this pull request? New function takes a string and a regex, returns a map extracted from the string identified by the regex, with group names as keys and group values as values. If there are groups without name, we will give them default names based on its group index, like column1, column2 , ... etc. ## How was this patch tested? Add a test in StringFunctionsSuite Please review http://spark.apache.org/contributing.html before opening a pull request.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
