MaxGekk commented on PR #60285: URL: https://github.com/apache/spark/pull/60285#issuecomment-6790220397
Thank you for the review, @dongjoon-hyun. You're right that the shared rule moved contexts well beyond the interval expressions. In b43ba62096e I narrowed it instead of documenting that: `SupportQueryContext.copyTagsFrom` now copies the replaced node's context unless it is `None`. That is all the interval division needs, since the non-ANSI `Divide` it replaces has none. A replaced node with a context still gives it to its replacement, as on master, so the ANSI expressions under a same-type cast, the DataFrame API and SQL function bodies keep their current contexts. The `isValid` scan and the duplicated filter are gone with it. The rest is addressed inline, and the PR description is updated. -- 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]
