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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bnmoch3
Copy link

@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.

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.

1 participant