We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3240f95 commit 8c717b6Copy full SHA for 8c717b6
ydb/sqlalchemy/__init__.py
@@ -37,8 +37,8 @@ def __init__(self, dialect):
37
)
38
39
def _requires_quotes(self, *args, **kwargs):
40
- # Force all identifiers to get quoted.
41
- return True
+ # Force all identifiers to get quoted unless already quoted.
+ return not (value.startswith(self.initial_quote) and value.endswith(self.final_quote))
42
43
class YqlTypeCompiler(GenericTypeCompiler):
44
def visit_VARCHAR(self, type_, **kw):
0 commit comments