You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MRKKmrkk (via GitHub)" <gi...@apache.org> on 2025/09/26 13:24:00 UTC

[PR] [SPARK-53718][SQL] Add a new Optimizer rule to flatten nested MapConcat expressions [spark]

MRKKmrkk opened a new pull request, #52469:
URL: https://github.com/apache/spark/pull/52469

   ### What changes were proposed in this pull request?
   Add a new Optimizer rule to flatten nested MapConcat expressions in two ways:
   
   1.Flattens nested MapConcat expressions into a single MapConcat.
   Example: `map_concat(map('a', 'a1'), map_concat(map('b', 'b1'), map('c', 'c1'))) → map_concat(map('a', 'a1'), map('b', 'b1'), map('c', 'c1'))`
   
   2.Extracts the child directly when MapConcat has only one child
      Example: `map_concat(map('a', 'a1')) → map('a', 'a1')`
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   SQLQueryTestSuite and CombineMapConcatsSuite.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53718][SQL] Add a new Optimizer rule to flatten nested MapConcat expressions [spark]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #52469:
URL: https://github.com/apache/spark/pull/52469#issuecomment-3708586902

   We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-53718][SQL] Add a new Optimizer rule to flatten nested MapConcat expressions [spark]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #52469: [SPARK-53718][SQL] Add a new Optimizer rule to flatten nested MapConcat expressions
URL: https://github.com/apache/spark/pull/52469


-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org