如何将 Athena 时间戳转换为字符串
How to convert Athena timestamp to string
我正在使用以下代码:
select date_col::TEXT from table1;
错误:
identifiers must not contain ':' (service: amazonathena; status code: 400; error code: invalidrequestexception; request id: 0445a8ab-7bbc-4db2-bb6d-4d8b48bebd1f; proxy: null)
你能试试吗select cast(date_col as varchar) from table1;
我正在使用以下代码:
select date_col::TEXT from table1;
错误:
identifiers must not contain ':' (service: amazonathena; status code: 400; error code: invalidrequestexception; request id: 0445a8ab-7bbc-4db2-bb6d-4d8b48bebd1f; proxy: null)
你能试试吗select cast(date_col as varchar) from table1;