-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Configurable null character sanitization (#434)
Null characters are currently passed as-is to Postgres despite being unsupported. If it is encountered, it causes the sink to fail as noted here: #60 with an error like `ValueError: A string literal cannot contain NUL (0x00) characters.` This PR introduces a new option called `sanitize_null_text_characters` which enables sanitization of these characters. --------- Co-authored-by: Edgar Ramírez Mondragón <[email protected]> Co-authored-by: Edgar Ramírez-Mondragón <[email protected]>
- Loading branch information
1 parent
fca6aa3
commit e4bb64e
Showing
4 changed files
with
81 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.