【发布时间】:2019-12-08 07:09:36
【问题描述】:
我正在尝试使用 Athena boto 客户端执行我的查询。
self.athena_client = boto3.client('athena')
response = self.athena_client.start_query_execution(
QueryString=sql.format(**query_params) if query_params else sql,
ResultConfiguration={
'OutputLocation': '...'
}
)
但我收到以下错误:
Invalid length for parameter QueryString, value: 0, valid range: 1-inf
我不知道根本原因是什么。
【问题讨论】:
标签: python amazon-s3 boto3 boto amazon-athena