You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/06/04 22:08:52 UTC
[GitHub] [spark] WitJakuczun opened a new pull request #24797: Detecting key
in map type when value type is complex
WitJakuczun opened a new pull request #24797: Detecting key in map type when value type is complex
URL: https://github.com/apache/spark/pull/24797
Regex used to extract key failed when one had more complex types like `map<string,struct<description:string,ip:string,struct<a:integer>>>`. As we accept only string or character for the field I suggest using them directly in regex.
## What changes were proposed in this pull request?
Corrected regex for detecting key in map type when value type is complex
## How was this patch tested?
This patch was manually tested with SparkR 2.4.3
Please review https://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 to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org