Skip to content

Commit 5e52e0a

Browse files
committed
remove replacement of % with %% in bytes types
1 parent 1920081 commit 5e52e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_bigquery/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def literal_processor(self, dialect):
679679
class BQBinary(sqlalchemy.sql.sqltypes._Binary):
680680
@staticmethod
681681
def __process_bytes_literal(value):
682-
return repr(value.replace(b"%", b"%%"))
682+
return repr(value)
683683

684684
def literal_processor(self, dialect):
685685
return self.__process_bytes_literal

0 commit comments

Comments
 (0)