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

Fix test to trigger append error #424

Closed
wants to merge 1 commit into from

Conversation

bnmoch3
Copy link
Contributor

@bnmoch3 bnmoch3 commented Jan 31, 2025

This PR fixes the test_appender_error test, which was failing due to changes in DuckDB’s handling of virtual generated columns. DuckDB treats foobar_split as a virtual generated column, meaning its value is computed at query time and cannot be inserted into. Previously, the test assumed appending to the foobar column alone would trigger an error, but DuckDB allowed the insertion, causing the test to fail. By adding foobar_int, the test now correctly validates that appending an incomplete row still fails as expected.

@Maxxen
Copy link
Member

Maxxen commented Feb 7, 2025

Thanks a lot of the PR, I've Included it as part of #427 (sorry, the squash messed up the history and didnt auto-close this PR)

@Maxxen Maxxen closed this Feb 7, 2025
@bnmoch3
Copy link
Contributor Author

bnmoch3 commented Feb 7, 2025

You're welcome :)

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