Skip to content

Commit

Permalink
Fix AttributeError: module 'sqlalchemy.types' has no attribute 'DOUBL…
Browse files Browse the repository at this point in the history
…E' (fix #526)
  • Loading branch information
laughingman7743 committed Mar 18, 2024
1 parent 60e5cbd commit b9dd724
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyathena/sqlalchemy/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@
ischema_names: Dict[str, Type[Any]] = {
"boolean": types.BOOLEAN,
"float": types.FLOAT,
"double": types.DOUBLE,
# TODO: types.DOUBLE is not defined in SQLAlchemy 1.4.
"double": types.FLOAT,
"real": types.FLOAT,
"tinyint": TINYINT,
"smallint": types.SMALLINT,
Expand Down

0 comments on commit b9dd724

Please sign in to comment.