Skip to content

Conversation

@sfc-gh-dachristensen
Copy link
Collaborator

No description provided.


query = "SELECT blob_col FROM duckdb_supported_types_table WHERE blob_col IS NOT NULL ORDER BY blob_col"
expected = [("\\x00",), ("\\x",), ("\\xdeadbeaf",)]
expected = [("\\x",), ("\\x00",), ("\\xdeadbeaf",)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

seems a bit odd

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The upgrade to duckdb seems to have changed the sort order of the 0-length byte NULL.

const char *createGCSSecret =
"CREATE SECRET gcsdefault ("
"TYPE GCS, PROVIDER CREDENTIAL_CHAIN, "
"VALIDATION 'none', "
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need that?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

If you don't have this, the updated secrets interface will complain in DuckDB 1.4.0+, which prevents pgduck_server from starting due to not necessarily having ~/.aws/config defined. This just suppresses the checks when it initializes.

@sfc-gh-okalaci
Copy link
Collaborator

probably worth adding a test with: #18

@sfc-gh-okalaci
Copy link
Collaborator

should we add a test with the example here: #18

Mostly to make sure DuckDB does not regress on this, if does we can warn them.

@sfc-gh-dachristensen
Copy link
Collaborator Author

should we add a test with the example here: #18

Mostly to make sure DuckDB does not regress on this, if does we can warn them.

I did add a test in e9b5156 but it looks like something broke with the patch files and the submodules so I need to figure out what happened here.

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.

3 participants