We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6fea52 commit 08f551aCopy full SHA for 08f551a
src/databricks/sql/__init__.py
@@ -5,7 +5,7 @@
5
# PEP 249 module globals
6
apilevel = "2.0"
7
threadsafety = 1 # Threads may share the module, but not connections.
8
-paramstyle = "pyformat" # Python extended format codes, e.g. ...WHERE name=%(name)s
+paramstyle = "named" # Python extended format codes, e.g. ...WHERE name=%(name)s
9
10
11
class DBAPITypeObject(object):
src/databricks/sqlalchemy/__init__.py
@@ -82,7 +82,7 @@ class DatabricksDialect(default.DefaultDialect):
82
supports_native_decimal: bool = True
83
supports_sane_rowcount: bool = False
84
non_native_boolean_check_constraint: bool = False
85
- default_paramstyle: str = "qmark"
+ paramstyle: str = "named"
86
87
@classmethod
88
def dbapi(cls):
0 commit comments