fix: TemporalWrapperType string representation (#16614)

* fix: TemporalWrapperType string representation

* fix tests
This commit is contained in:
Ville Brofeldt
2021-09-07 13:50:24 +03:00
committed by GitHub
parent effcf3b50f
commit 9de2196b7f
4 changed files with 19 additions and 9 deletions

View File

@@ -1295,7 +1295,7 @@ class BaseEngineSpec: # pylint: disable=too-many-public-methods
# using datetimes
if generic_type == GenericDataType.TEMPORAL:
column_type = literal_dttm_type_factory(
type(column_type), cls, native_type or ""
column_type, cls, native_type or ""
)
is_dttm = generic_type == GenericDataType.TEMPORAL
return ColumnSpec(