MaxGekk commented on PR #60285: URL: https://github.com/apache/spark/pull/60285#issuecomment-6779393079
@dongjoon-hyun @yaooqinn @peter-toth could you take a look? The interval division built its error context from `origin.context` when it was evaluated, so on executors, where the origin is lost when the expression is serialized, `INTERVAL_DIVIDED_BY_ZERO` and `INTERVAL_ARITHMETIC_OVERFLOW` arrived without the SQL fragment. `IntervalDivide` now keeps its context as `SupportQueryContext`, like the other arithmetic. `SupportQueryContext.copyTagsFrom` now copies the replaced node's context only when the expression has none of its own, since it used to overwrite it. That matters when a rule such as `SimplifyCasts` replaces a node with an existing expression. -- 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]
