You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "MaxGekk (via GitHub)" <gi...@apache.org> on 2024/03/14 07:19:01 UTC

[PR] [WIP][SQL] Pass `messageParameters` by name to `require()` [spark]

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

   ### What changes were proposed in this pull request?
   In the PR, I propose to pass `messageParameters` by name to avoid eager instantiation.
   
   ### Why are the changes needed?
   Passing `messageParameters` by value independently from `requirement` might introduce perf regression.
   
   ### Does this PR introduce _any_ user-facing change?
   No, this is not a part of public API.
   
   ### How was this patch tested?
   By running the affected test suite:
   ```
   $ build/sbt "test:testOnly *QueryCompilationErrorsSuite"
   ```
   
   ### 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-47388][SQL] Pass `messageParameters` by name to `require()` [spark]

Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk closed pull request #45511: [SPARK-47388][SQL] Pass `messageParameters` by name to `require()`
URL: https://github.com/apache/spark/pull/45511


-- 
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-47388][SQL] Pass `messageParameters` by name to `require()` [spark]

Posted by "MaxGekk (via GitHub)" <gi...@apache.org>.
MaxGekk commented on PR #45511:
URL: https://github.com/apache/spark/pull/45511#issuecomment-1997452985

   Merging to master. Thank you, @cloud-fan and @HyukjinKwon for review.


-- 
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