Skip to content

Commit

Permalink
fix(druid): avoid double escaping percent-signs in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and jcrist committed Sep 12, 2023
1 parent 310c521 commit 1d1f7bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ibis/backends/druid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def do_connect(
# workaround a broken pydruid `has_table` implementation
engine.dialect.has_table = self._has_table

# don't double percent signs
engine.dialect.identifier_preparer._double_percents = False

@staticmethod
def _new_sa_metadata():
meta = sa.MetaData()
Expand Down

0 comments on commit 1d1f7bd

Please sign in to comment.