我正在从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;