Skip to content

Conversation

abramk
Copy link
Contributor

@abramk abramk commented Mar 21, 2025

Numeric cast exception message show up with incorrect min/max values. Example:

Internal Exception: ABORT THROWN BY INTERNAL EXCEPTION: Information loss on integer cast: value -296 outside of target range [-9223372036854775808, 9223372036854775807]
Clearly -296 is within the range shown. This is because the exception should be provided signed/unsigned values depending on the failure case.

@Mytherin Mytherin merged commit 75fb0d7 into duckdb:v1.2-histrionicus Mar 21, 2025
48 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Apr 8, 2025
Fix min/max values in numeric cast exception message (duckdb/duckdb#16777)
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