Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.
Prev Previous commit
Next Next commit
style fixes by ruff
  • Loading branch information
vvkh authored and github-actions[bot] committed Dec 29, 2023
commit 6f6b887ca2377b83c451ec53ba8f270f51dec6e9
4 changes: 1 addition & 3 deletions data_diff/databases/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,7 @@ def select_table_schema(self, path: DbPath) -> str:
if database:
info_schema_path.insert(0, database)

return (
f"""SELECT column_name, data_type, datetime_precision,
return f"""SELECT column_name, data_type, datetime_precision,
-- see comment for DEFAULT_NUMERIC_PRECISION
CASE
WHEN data_type = 'numeric'
Expand All @@ -206,7 +205,6 @@ def select_table_schema(self, path: DbPath) -> str:
FROM {'.'.join(info_schema_path)}
WHERE table_name = '{table}' AND table_schema = '{schema}'
"""
)

def select_table_unique_columns(self, path: DbPath) -> str:
database, schema, table = self._normalize_table_path(path)
Expand Down