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/03/26 15:35:47 UTC
[GitHub] [spark] mgaido91 opened a new pull request #24223:
[SPARK-27278][SQL] Optimize GetMapValue when the map is a foldable and the
key is not
mgaido91 opened a new pull request #24223: [SPARK-27278][SQL] Optimize GetMapValue when the map is a foldable and the key is not
URL: https://github.com/apache/spark/pull/24223
## What changes were proposed in this pull request?
When `GetMapValue` contains a foldable Map and a non-foldable key, `SimplifyExtractValueOps` fails to optimize it transforming it into case when statements.
The PR adds a case for covering this situation too.
## How was this patch tested?
added UT
----------------------------------------------------------------
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