我正在从 crate.io 管理控制台执行此查询,但它失败并出现UnsupportedOperationException
错误:
Cannot create plan for: io.crate.analyze.QueriedSelectRelation
这是查询:
SELECT url
FROM (
SELECT url
FROM my_table
LIMIT 100
OFFSET 0
) AS chunk
WHERE chunk.url ~ '.*string.*';
如果我删除最后一行(即 WHERE 语句),它将运行。这也运行得很好:
SELECT url
FROM my_table
WHERE url ~ '.*string.*'
LIMIT 10;