I am performing this query from the crate.io admin console, and it fails with the an UnsupportedOperationException
error:
Cannot create plan for: io.crate.analyze.QueriedSelectRelation
Here is the query:
SELECT url
FROM (
SELECT url
FROM my_table
LIMIT 100
OFFSET 0
) AS chunk
WHERE chunk.url ~ '.*string.*';
If I remove the final line (i.e. the WHERE statement) it runs. Also this runs just fine:
SELECT url
FROM my_table
WHERE url ~ '.*string.*'
LIMIT 10;