vigneshsiva11 opened a new issue, #3324: URL: https://github.com/apache/datafusion-comet/issues/3324
### Describe the bug While investigating dictionary-backed timestamp failures (e.g. #3255), I noticed that spark-expr/src/datetime_funcs/extract_date_part.rs matches directly on DataType::Timestamp but does not handle Dictionary(_, Timestamp) inputs. Iceberg / Parquet readers may produce DictionaryArray-backed timestamps implicitly, which could cause hour/minute/second expressions to fail or take the error branch even when the logical input is valid. This seems related but out of scope for my current PR fixing datediff/to_date. Opening this issue to confirm the expected handling pattern before proposing a follow-up fix. ### Steps to reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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]
