Coverage for packages/sql-smith/src/sql_smith/engine/common_engine.py: 100%
4 statements
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.11.0, created at 2024-01-01 00:00 +0000
1from sql_smith.engine import BasicEngine
4class CommonEngine(BasicEngine):
5 """An engine that supports common SQL standard."""
7 def escape_identifier(self, identifier: str) -> str:
8 """Escapes identifiers by putting quotes around it."""
9 return '"{}"'.format(identifier)