Description
Rules in org/apache/spark/sql/catalyst/optimizer/finishAnalysis.Scala, except RewriteNonCorrelatedExists which was done in SPARK-35075.
Commit https://github.com/apache/spark/commit/3db8ec258c4a8438bda73c26fc7b1eb6f9d51631 contains the framework level change and a few example rule changes.
Example patterns:
Example rule:
https://github.com/apache/spark/pull/32247 is another example