Skip to content

feat: add support for GetTimestamp, parse_to_date expressions#3467

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

feat: add support for GetTimestamp, parse_to_date expressions#3467
rafafrdz wants to merge 13 commits intoapache:mainfrom
rafafrdz:feat/add-support-to_date

Conversation

@rafafrdz
Copy link
Contributor

Summary

In order to add support to_date spark sql function, we need first to cover GetTimestamp as an intermediate expression within the query plan when call either ParseToDate (to_date 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.

@rafafrdz rafafrdz force-pushed the feat/add-support-to_date branch from 22f22c8 to a19c641 Compare February 12, 2026 10:35
query
SELECT col, to_date(col, 'yyyy/MM/dd') FROM test_to_date_fmt

query
Copy link
Member

Choose a reason for hiding this comment

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

Could you remove the leading whitespace from these directives. There are several instances of this.

Suggested change
query
query

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@rafafrdz rafafrdz force-pushed the feat/add-support-to_date branch from 8033aea to 3c087e1 Compare February 19, 2026 20:56
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_date

2 participants

Comments