We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now you'll get something like ValueError: A string literal cannot contain NUL (0x00) characters or sqlalchemy.exc.DataError: (psycopg2.errors.UntranslatableCharacter) unsupported Unicode escape sequence as postgres doesn't allow NUL characters see https://www.postgresql.org/docs/current/functions-string.html#:~:text=chr(0)%20is%20disallowed%20because%20text%20data%20types%20cannot%20store%20that%20character.
ValueError: A string literal cannot contain NUL (0x00) characters
sqlalchemy.exc.DataError: (psycopg2.errors.UntranslatableCharacter) unsupported Unicode escape sequence
Should we sanitize the data ie something like data.replace("\u0000","") or leave the offending record?
data.replace("\u0000","")
The text was updated successfully, but these errors were encountered:
running into this as well. think it would be nice to at least have the option too 😅
Sorry, something went wrong.
No branches or pull requests
Right now you'll get something like
ValueError: A string literal cannot contain NUL (0x00) characters
orsqlalchemy.exc.DataError: (psycopg2.errors.UntranslatableCharacter) unsupported Unicode escape sequence
as postgres doesn't allow NUL characters see https://www.postgresql.org/docs/current/functions-string.html#:~:text=chr(0)%20is%20disallowed%20because%20text%20data%20types%20cannot%20store%20that%20character.Should we sanitize the data ie something like
data.replace("\u0000","")
or leave the offending record?The text was updated successfully, but these errors were encountered: