Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overoptimization of variable dependencies #1216

Open
ghislainfourny opened this issue Feb 14, 2023 · 1 comment
Open

Overoptimization of variable dependencies #1216

ghislainfourny opened this issue Feb 14, 2023 · 1 comment
Assignees

Comments

@ghislainfourny
Copy link
Member

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.

@ghislainfourny
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant