RumbleDB/rumble

Overoptimization of variable dependencies

ghislainfourny opened this issue · 1 comments

The query
for $store in json-file("src/test/resources/queries/stores.jsonl")
let $products := json-file("src/test/resources/queries/products.jsonl")[$$.storeid eq $store.storeid]
return {"products": $products}

return this error

Code: [RBST0004]
Message: Expecting full variable dependency on store but column not found in the data frame.
Metadata: none:LINE:1:COLUMN:0:
This code can also be looked up in the documentation and specifications for more information.

Fixed. The projection pushdown was happening too early before the post-filtering.