Skip to content

Conversation

hawkfish
Copy link
Contributor

  • Convert the to_timepart functions to take DOUBLE instead of BIGINT.
  • Parse decimal strings as intervals with implied SECONDS/MICROSECONDS specifiers.

fixes: #9762
fixes: duckdblabs/duckdb-internal#765

Richard Wesley added 2 commits November 22, 2023 13:39
Convert the to_timepart functions to take DOUBLE instead of BIGINT.
Parse decimal strings as intervals with implied SECONDS/MICROSECONDS specifiers.

fixes: duckdb#9762
fixes: duckdblabs/duckdb-internal#765
@hawkfish hawkfish requested a review from Tishj November 22, 2023 22:31
@Mytherin Mytherin merged commit 235b0d5 into duckdb:main Nov 23, 2023
@Mytherin
Copy link
Collaborator

Thanks!

@hawkfish hawkfish deleted the interval-seconds branch November 27, 2023 15:44
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 14, 2023
Merge pull request duckdb/duckdb#9773 from hawkfish/interval-seconds
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.

Interval fractional second precision is discarded/fails to be parsed
2 participants