Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.2][Spark] Update OptimizeGeneratedSuite to apply constant folding (#…
…3141) The following change in Spark master broke tests in `OptimizeGeneratedColumnSuite`: apache/spark@7974811 It added an execution of the `ConstantFolding` rule after `PrepareDeltaScan`, causing constant expressions in filters on generated columns to be simplified, which `OptimizeGeneratedColumnSuite` heavily used. This change: - updates the expected results in `OptimizeGeneratedColumnSuite` to simplify constant expressions - adds a pass of `ConstantFolding` after `PrepareDeltaScan` so that Delta on spark 3.5 behaves the same as Delta on spark master. Updated tests
- Loading branch information