fix(presto): return proper data type for column (#34304)

This commit is contained in:
Beto Dealmeida
2025-08-12 17:13:59 -04:00
committed by GitHub
parent 6d827cf905
commit e88096f75c

View File

@@ -700,7 +700,9 @@ class PrestoBaseEngineSpec(BaseEngineSpec, metaclass=ABCMeta):
@classmethod
def _create_column_info(
cls, name: str, data_type: types.TypeEngine
cls,
name: str,
data_type: types.TypeEngine,
) -> ResultSetColumnType:
"""
Create column info object
@@ -711,7 +713,7 @@ class PrestoBaseEngineSpec(BaseEngineSpec, metaclass=ABCMeta):
return {
"column_name": name,
"name": name,
"type": f"{data_type}",
"type": data_type,
"is_dttm": None,
"type_generic": None,
}