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

Reconstruct Error Messages for Flush Cast #11736

Merged
merged 7 commits into from
Apr 20, 2024
Merged

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Apr 19, 2024

This PR Depends on: #11733

Cast error messages from the Flush method are a bit brittle since we do not get sufficient information from the vector casting methods.

To resolve #11734 I'm basically reconstructing the error message. I think going forward the idea is to have Decimal Casting directly from the CSV File as well, since that's quite a common type, and then Flush will only be used for nested types and exoteric stuff like hugeints.

@Mytherin Mytherin merged commit fd102a3 into duckdb:main Apr 20, 2024
44 of 45 checks passed
@Mytherin
Copy link
Collaborator

Thanks! LGTM

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request May 5, 2024
@pdet pdet deleted the flush_rejects branch June 25, 2024 09:33
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.

CSV rejects table error_message is the same for each line despite column having different values
2 participants