When running TPC-H queries with Runtime Filter feature enabled on DRILL 1.15.0 SNAPSHOT, I saw failures with following error:
Error: SYSTEM ERROR: IllegalStateException: Memory was leaked by query. Memory leaked: (1048576)
Allocator(frag:5:38) 6000000/1048576/77833920/50062914560 (res/actual/peak/limit)
Please, refer to logs for more information.
[Error Id: 2ca07049-ac92-4944-929c-16f261e43f7e on qa-node185.qa.lab:31010] (state=,code=0)
The failure is observed when the query has nested joins. (TPC-H query 7 can easily reproduce the issue). I have attached logs for a simpler sample query that fails.