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

   Thanks @gengliangwang, all five are addressed in this push. Two changes 
cover most of them:
   - A shorter child's column is now padded where it is produced, in the alias 
of its Project. It keeps its expression ID, and the scan's `readSidePadding(c, 
3)` becomes `readSidePadding(c, 5)` instead of being padded again.
   - The recursive term of a recursive CTE now has its values narrowed to the 
CHAR lengths of the anchor, so any widening inside it, however it reads the 
recursive reference, ends at the loop.
   
   The check for recursive references now lives in one helper, 
`Union.widerCharRawTypes(children)`, which the set operations, the single-pass 
resolver and `ApplyCharTypePadding` all call.
   
   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