andygrove commented on issue #3134: URL: https://github.com/apache/datafusion-comet/issues/3134#issuecomment-5113045550
`DatetimeSub` is a `RuntimeReplaceable` expression. The `ReplaceExpressions` rule (Finish Analysis batch) substitutes it with its `replacement` before physical planning, so the class never appears in a physical plan and Comet's expression serde never sees it. Registering a `CometExpressionSerde` for it would be dead code. It is also never constructed with a generic body: `BinaryArithmeticWithDatetimeResolver` builds it with a concrete replacement already supplied (`DateAddYMInterval` / `TimestampAddYMInterval` / `TimestampAddInterval` over a negated interval). Those replacement expressions are what actually reach the physical plan, and they are tracked separately by #3114 and #3115. Closing as not actionable as specified. -- 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]
