Skip to content

feat: add support for GetTimestamp, parse_to_date, parse_to_timestamp expressions#3438

Open
rafafrdz wants to merge 11 commits intoapache:mainfrom
rafafrdz:feat/add-support-to_date-to_timestamp
Open

feat: add support for GetTimestamp, parse_to_date, parse_to_timestamp expressions#3438
rafafrdz wants to merge 11 commits intoapache:mainfrom
rafafrdz:feat/add-support-to_date-to_timestamp

Conversation

@rafafrdz
Copy link

@rafafrdz rafafrdz commented Feb 7, 2026

Summary

In order to add support both to_date and to_timestamp spark sql functions, we need first to cover GetTimestamp as an intermediate expression within the query plan when call either ParseToDate (to_date function) or ParseToTimestamp (to_timestamp function).

Note to maintainers

Since this is my first contribution to Apache DataFusion Comet, I may have missed some steps in the development or contribution process. Please let me know if anything is missing or needs adjustment.

chrono = { workspace = true }
datafusion = { workspace = true }
datafusion-common = { workspace = true }
chrono-tz = { workspace = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafafrdz , this might not be intended change ?

bytes = { version = "1.10.0" }
parquet = { version = "57.2.0", default-features = false, features = ["experimental"] }
datafusion = { version = "51.0.0", default-features = false, features = ["unicode_expressions", "crypto_expressions", "nested_expressions", "parquet"] }
datafusion-common = { version = "51.0.0"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this too ?

@coderfender
Copy link
Contributor

@rafafrdz , Thank you for working on this and welcome to the datafusion community :) . I would suggest breaking down this PR by feature to make it easier for reviewers (and also the change log / release notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Support Spark expression: parse_to_timestamp [Feature] Support Spark expression: parse_to_date

2 participants