简体   繁体   English

为什么Citus会出现某些布尔约束错误?

[英]Why does Citus error with certain boolean constraints?

If I run this query: 如果我运行此查询:

SELECT "t1"."id" FROM "session" AS t1 WHERE ("t1"."dirty" = TRUE) ORDER BY "t1"."id" LIMIT 1000;

I get the following error: 我收到以下错误:

Error : ERROR:  unsupported clause type

This query works perfectly on a local table. 此查询在本地表上完美运行。 Why is Citus raising an error when I use it on a distributed table? 为什么Citus在分布式表上使用它时会引发错误?

instead of: 代替:

"t1"."dirty" = TRUE 

use: 使用:

"t1"."dirty" IS TRUE

Why not just 为什么不呢

WHERE t1.dirty

I mean, this is a boolean right? 我的意思是,这是一个布尔权利?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM