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 tests for DuckDB v5 #63

Merged
merged 1 commit into from
Sep 8, 2022
Merged

Fix tests for DuckDB v5 #63

merged 1 commit into from
Sep 8, 2022

Conversation

unconverged
Copy link
Contributor

We now have failing builds. The reason is that the tests with UPDATE statements and invalid parameter values are failing. Apparently, that is because DuckDB does not execute UPDATE statements on empty tables.

@Giorgi
Copy link
Owner

Giorgi commented Sep 8, 2022

Do you know if that is a new feature in 0.5.0 or a bug? I asked it here but didn't get any response: duckdb/duckdb#4640

@Giorgi Giorgi merged commit 26627a9 into Giorgi:main Sep 8, 2022
@unconverged
Copy link
Contributor Author

unconverged commented Sep 8, 2022

This seems to be a feature, an optimisation of some kind. DuckDB ignores any UPDATE statement for an empty table, not only erroneous. As you can see from the PR, I've updated tests that use the correct parameter order, as they reported no affected rows.

@unconverged unconverged deleted the v5-tests branch September 8, 2022 21:10
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.

None yet

2 participants