Skip to content

Commit

Permalink
switch back to column type
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lloyd committed Apr 24, 2023
1 parent 6e5b1a6 commit 72ca90d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tap_mysql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"table_schema",
"table_name",
"column_name",
"data_type",
"column_type",
"is_nullable",
"column_key",
],
Expand Down Expand Up @@ -122,7 +122,7 @@ def create_catalog_entry(

# Initialize columns list
jsonschema_type: dict = self.to_jsonschema_type(
cast(sqlalchemy.types.TypeEngine, col.data_type),
cast(sqlalchemy.types.TypeEngine, col.column_type),
)
table_schema.append(
th.Property(
Expand Down Expand Up @@ -197,7 +197,7 @@ def discover_catalog_entries(self) -> list[dict]:
table_schema
, table_name
, column_name
, data_type
, column_type
, is_nullable
, column_key
FROM information_schema.columns
Expand Down

0 comments on commit 72ca90d

Please sign in to comment.