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

Internal #576: strptime strftime infinities #9615

Merged
merged 3 commits into from Nov 10, 2023

Conversation

hawkfish
Copy link
Contributor

@hawkfish hawkfish commented Nov 8, 2023

Make it so we can round trip infinite temporal values through the datetime parser and formatter.
This now differs from PG but I think they are wrong.

fixes: duckdblabs/duckdb-internal#576

Make it so we can round trip infinite temporal values
through the datetime parser and formatter.
This now differs from PG but I think they are wrong.

fixes: duckdblabs/duckdb-internal#576
@hawkfish
Copy link
Contributor Author

hawkfish commented Nov 8, 2023

Rebasing required deleting the old branch and PR - sorry!

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! One comment:

src/function/scalar/strftime_format.cpp Outdated Show resolved Hide resolved
CR feedback: Precheck for specials' leading characters to avoid
multiple strcmp passes on every parsed value.
@github-actions github-actions bot marked this pull request as draft November 9, 2023 18:00
@hawkfish hawkfish marked this pull request as ready for review November 9, 2023 18:02
Copy link
Contributor

@samansmink samansmink left a comment

Choose a reason for hiding this comment

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

LGTM!

@Mytherin Mytherin merged commit 57f7a78 into duckdb:feature Nov 10, 2023
46 of 47 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@hawkfish hawkfish deleted the strptime-infinity branch November 10, 2023 18:18
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 11, 2023
Merge pull request duckdb/duckdb#9392 from lnkuiper/parquet_encryption
Merge pull request duckdb/duckdb#9461 from hawkfish/merge-sort-trees
Merge pull request duckdb/duckdb#8788 from alnkesq/capi_create_enum_type
Merge pull request duckdb/duckdb#9513 from Tmonster/5614-database-invalidated
Merge pull request duckdb/duckdb#9622 from Mytherin/typescoping
Merge pull request duckdb/duckdb#9615 from hawkfish/strptime-infinity
Merge pull request duckdb/duckdb#9627 from Mytherin/attachifnotexists
Merge pull request duckdb/duckdb#9648 from samansmink/add-keep-alive-toggle
Merge pull request duckdb/duckdb#9638 from taniabogatsch/bench-refactor
Merge pull request duckdb/duckdb#9651 from Mytherin/getenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants