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

   ### What changes were proposed in this pull request?
   
   This PR creates a new `SQLAnalyzerTestSuite` that consumes input SQL queries 
from files and then performs analysis and generates the string representation 
of the analyzed plans. It works much the same way as the existing 
`SQLQueryTestSuite` except that it produces analyzed plan string instead of 
query results in the output golden files.
   
   ### Why are the changes needed?
   
   This framework will help us guard against bugs in future development by 
showing a clear signal when analyzer updates result in changes to the query 
plans for a body of test queries. PR authors and reviewers will be able to see 
the diffs for all changed plans during the review, and any unintentional plan 
changes will act as a signal for PR authors to adjust their code to prevent the 
changes from happening.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   This test adds a new test suite and initial golden file. The new test suite 
passes as of this PR.


-- 
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-unsubscr...@spark.apache.org

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


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

Reply via email to