Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-6392] Support all PostgreSQL 14 date/time patterns for to_date/to_timestamp #3791

Merged
merged 6 commits into from May 14, 2024

Conversation

normanj-bitquill
Copy link
Contributor

@normanj-bitquill normanj-bitquill commented May 10, 2024

This is layered on top of
#3773

  • First phase, mostly reorganizing classes
  • Does not yet implement to_date or to_timestamp
  • Fixed up fill mode handling
  • Isolated the unit test class so that it can make Locale changes safely
  • Introduced some new classes split out handling of some formats strings

There will be subsequent PRs to further implement to_date and to_timestamp for PostgreSQL.

* Splits the PostgreSQL toChar function off to its own function
* Does not implement FX or TM prefix
* Does not implement SP suffix
* Timezone patterns are supported but all datetimes are in local timezone
…te/to_timestamp

* First phase, mostly reorganizing classes
* Does not yet implement to_date or to_timestamp
* Fixed up fill mode handling
* Isolated the unit test class so that it can make Locale changes safely
* Introduced some new classes split out handling of some formats strings
Copy link

sonarcloud bot commented May 13, 2024

@mihaibudiu mihaibudiu merged commit 4b73a2f into apache:main May 14, 2024
17 checks passed
@mihaibudiu
Copy link
Contributor

oops, I merged the wrong PR

@mihaibudiu
Copy link
Contributor

I have reverted these 6 commits merged by mistake in main.
Can you please resubmit these as a separate PR?
It looks like a merged PR cannot be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants