Skip to content

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Sep 13, 2024

This PR implements downcast checking for decimal -> decimal and throws an error if the result does not fit.

It also implements a Pow() function to hugeint_t.

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! Looks good - one comment

@duckdb-draftbot duckdb-draftbot marked this pull request as draft September 16, 2024 09:34
@pdet pdet marked this pull request as ready for review September 16, 2024 09:34
@duckdb-draftbot duckdb-draftbot marked this pull request as draft September 16, 2024 12:23
@pdet pdet marked this pull request as ready for review September 16, 2024 12:31
@Mytherin Mytherin marked this pull request as draft September 17, 2024 07:31
@Mytherin Mytherin marked this pull request as ready for review September 17, 2024 07:31
@Mytherin Mytherin merged commit 29c4624 into duckdb:main Sep 18, 2024
39 of 41 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Sep 27, 2024
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Sep 27, 2024
Decimal downcast limit check (duckdb/duckdb#13922)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@pdet pdet deleted the decimal_downcast branch November 27, 2024 12:32
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.

2 participants