Skip to content

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Nov 15, 2024

This PR fixes the failing python sqllogictest nightly-test run

Almost all of these are very benign, there is one adjustment I had to make that made me raise an eyebrow.
Possibly pointing to a problem in the C++ API ?

In test/sql/attach/attach_export_import.test I've had to add a drop view integers_view statement to get the test to pass on the python sqllogictester, which makes me wonder: why does the C++ variant not run into this same problem?

Or is the error somehow getting swallowed?

@@ -48,6 +48,9 @@ SELECT * FROM integers
----
does not exist

statement ok
drop view integers_view;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mytherin this is odd right?
The database we're importing has integers_view, and we already have integers_view defined still (without this change), so I would expect the IMPORT DATABASE call to fail ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the test runner swallows errors of multi-statement queries currently (such as import database or pivot). There was an open issue around this somewhere

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That does sound familiar, I think we indeed have an open issue for that, thanks 👍

@Mytherin Mytherin merged commit fb7701f into duckdb:main Nov 15, 2024
40 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Dec 22, 2024
add function ends_with back (duckdb/duckdb#14859)
[Python][Dev] Fix issues with new/updated tests in the python sqllogictest implementation (duckdb/duckdb#14850)
[Python][Dev] Skip `test_pandas_selection` on Python3.8 (duckdb/duckdb#14851)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Dec 22, 2024
add function ends_with back (duckdb/duckdb#14859)
[Python][Dev] Fix issues with new/updated tests in the python sqllogictest implementation (duckdb/duckdb#14850)
[Python][Dev] Skip `test_pandas_selection` on Python3.8 (duckdb/duckdb#14851)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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