andygrove commented on issue #3127: URL: https://github.com/apache/datafusion-comet/issues/3127#issuecomment-5113041834
`MinutesOfTime` 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. Its replacement is a `StaticInvoke` into `DateTimeUtils.getMinutesOfTime`, so this function is never gated on a serde for `MinutesOfTime`. Native support for `minutes_of_time` would have to come from supporting that replacement, which is a different piece of work than this issue describes. Closing as not actionable as specified. If the fallback matters in practice, a fresh issue should track the replacement path. -- 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]
