stevomitric commented on PR #60061:
URL: https://github.com/apache/spark/pull/60061#issuecomment-6664983350

   Thanks for the review @uros-b !
   
   1. added next to the UNPIVOT entry in migration, naming `CREATE OR REPLACE 
VIEW` and `ALTER VIEW ... WITH SCHEMA EVOLUTION`. I left out a legacy flag 
since types only change where they were already wrong
   2. Scala UDFs fixed. `HandleNullInputsForUDF` is now a standalone object, 
and the widening applies it together with `UpdateAttributeNullability` to 
copies of the anchor and recursion before comparing, so the self-reference 
covers NULLs those UDFs write. 
   3. Fail closed, the widening reads the current types from the `UnionLoopRef` 
and throws an internal error if they need to widen but the loop has no origin 
to rebuild from (unit test added).
   4. inner WITH with and without a column list, `exists(...)` on the widened 
column in the outer query, ANSI off, and struct field names differing only in 
case.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to