andygrove commented on issue #3120:
URL: 
https://github.com/apache/datafusion-comet/issues/3120#issuecomment-5113039746

   `ToTime` 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 the `DateTimeUtils` time parser, so 
this function is never gated on a serde for `ToTime`. Native support for 
`to_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]

Reply via email to