shivadarshan-devadiga commented on PR #60756:
URL: https://github.com/apache/spark/pull/60756#issuecomment-7061915371

   Thanks @gengliangwang, all four are fixed in this push. The gate is 
structural again, as you suggested: a set operation is resolved once its 
children have the same CHAR lengths, whichever phase reads it. It no longer 
depends on the analyzer thread-local, and `isInAnalyzer` is gone. Like the 
types of the children, their CHAR types stay the same after analysis. The one 
optimizer rule that broke that, `PushProjectionThroughUnion`, now keeps the 
alias's metadata in every child. The padding rule moved out of the 
type-coercion rules, so `V2Writes` doesn't run it again on optimized plans.
   
   Can you please re-review


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