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

Use AddStringOrBlob to create to duckdb string from blob value #521

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

mkaruza
Copy link
Collaborator

@mkaruza mkaruza commented Jan 8, 2025

To construct output string useAddStringOrBlob which doesn't require that input is valid UTF8.

To construct output string use`AddStringOrBlob` which
doesn't require that input is valid UTF8.
@Y--
Copy link
Collaborator

Y-- commented Jan 8, 2025

Looks reasonable - can we add a small test?

@mkaruza
Copy link
Collaborator Author

mkaruza commented Jan 8, 2025

Looks reasonable - can we add a small test?

Issue that this PR is fixing will be triggered if regression suite is run on debug build.

@mkaruza mkaruza merged commit 6a01150 into main Jan 8, 2025
5 checks passed
@mkaruza mkaruza deleted the correct-blob-construction branch January 8, 2025 09:10
ritwizsinha pushed a commit to ritwizsinha/pg_duckdb that referenced this pull request Jan 11, 2025
…b#521)

To construct output string use`AddStringOrBlob` which doesn't require
that input is valid UTF8.
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