【发布时间】:2021-03-07 04:54:09
【问题描述】:
我正在寻找一种在 aws Athena/presto 中打印制表符分隔值的方法。以下查询不这样做:
select 'fielf1\tfield2'
这给了(unsurprisingyl)
field1\tfield2
我愿意
field1 field2
这两个字段由制表符分隔。
编辑:Piotr Findeisen 提出的“标准”语法:
SELECT U&'field1\0009field2'
返回:
Your query has the following error(s):
Queries of this type are not supported (Service: AmazonAthena; Status Code: 400; Error Code: InvalidRequestException; Request ID: [...])
【问题讨论】:
标签: amazon-web-services presto amazon-athena