Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit c3dc2da

Browse files
committed
Ran black
1 parent 7ada9ec commit c3dc2da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

data_diff/sqeleton/databases/redshift.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ def select_table_schema(self, path: DbPath) -> str:
7474
def select_external_table_schema(self, path: DbPath) -> str:
7575
schema, table = self._normalize_table_path(path)
7676

77-
return (
78-
f"""SELECT
77+
return f"""SELECT
7978
columnname AS column_name
8079
, CASE WHEN external_type = 'string' THEN 'varchar' ELSE external_type END AS data_type
8180
, NULL AS datetime_precision
@@ -84,7 +83,6 @@ def select_external_table_schema(self, path: DbPath) -> str:
8483
FROM svv_external_columns
8584
WHERE tablename = '{table.lower()}' AND schemaname = '{schema.lower()}'
8685
"""
87-
)
8886

8987
def query_external_table_schema(self, path: DbPath) -> Dict[str, tuple]:
9088
rows = self.query(self.select_external_table_schema(path), list)

0 commit comments

Comments
 (0)