我有一个CSV文件上传到S3存储桶。我想返回与字段的子字符串匹配的行 Display . 正确的SELECT语法是什么?
Display
这将返回0行:
"select * from s3object s where 'substring' in s.Display LIMIT 100"
找到答案:
"select * from s3object s where s.Display LIKE '%substring%' LIMIT 100"
Amazon Athena 使用 Presto 因为它是查询引擎。