vladimirg-db opened a new pull request, #49857:
URL: https://github.com/apache/spark/pull/49857

   ### What changes were proposed in this pull request?
   
   Fix `ViewResolverSuite` for non-ANSI mode. View column `Cast`s have have 
ANSI evaluation in non-ANSI mode when view schema `COMPENSATION` is the default 
view schema mode: 
https://github.com/apache/spark/blob/301b666a1fcbd4c59d96c53fe3a547ea1512f397/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/SessionCatalog.scala#L965.
   
   Also, use `dsl` package to simplify test code.
   
   ### Why are the changes needed?
   
   To fix tests in non-ANSI mode: 
https://github.com/apache/spark/pull/49658#discussion_r1944266007
   
   ### Does this PR introduce _any_ user-facing change?
   
   Just a test suite change.
   
   ### How was this patch tested?
   
   Fixed the `ViewResolverSuite`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   copilot.nvim.


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