输入中没有可行的替代方案,而且是错误的'

时间:2017-06-26 20:16:11

标签: hiveql presto amazon-athena

尝试在aws athena中查询数据库,但收到此错误:

WHERE
    "fo0"."date" > date'2014-08-03'
        AND "re0"."rating" IS NOT NULL
        AND "fi0"."is_side" is FALSE
GROUP BY "Name"
HAVING COUNT(DISTINCT "re0"."id") > 10
ORDER BY "% More Loves than Dislikes" DESC
;

我对雅典娜来说很新。任何决心都有帮助。

1 个答案:

答案 0 :(得分:0)

看起来您可能需要更改此行:

AND "fi0"."is_side" is FALSE

为:

AND "fi0"."is_side" = FALSE

由于您的is_side数据类型似乎是tinyint,请尝试以下操作:

ND "fi0"."is_side" = 0