Skip to content

Commit

Permalink
Added TIME / TIMESTAMP support
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Jul 9, 2024
1 parent 22f1e84 commit 9003f1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sqlalchemy_flight_sql_adbc_dialect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ def _get_column_type(self, data_type: str):
return sqltypes.Integer
elif data_type == 'DATE':
return sqltypes.DateTime
elif data_type == "TIMESTAMP":
return sqltypes.TIMESTAMP
elif data_type == "TIME":
return sqltypes.TIME
elif data_type == "BIGINT":
return sqltypes.BigInteger
elif re.match(pattern="^DECIMAL", string=data_type):
Expand Down

0 comments on commit 9003f1f

Please sign in to comment.