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

Join detected by where clauses incorrectly #1172

Closed
wzrain opened this issue Feb 11, 2022 · 3 comments
Closed

Join detected by where clauses incorrectly #1172

wzrain opened this issue Feb 11, 2022 · 3 comments

Comments

@wzrain
Copy link

wzrain commented Feb 11, 2022

Issue:

for $i in parallelize(({"id": 1}, {"id": 2})) 
let $n := 5 
where $i.id < $n 
return $i

throws an error:

[INFO] Rumble detected a join predicate in the where clause (limit=1 of 2).
[INFO] Join failed. Falling back to regular execution (nevertheless, please let us know!).
[INFO] Rumble was able to optimize a let clause to a native SQL query.
⚠️  ️There was an error on line 1 in none:


^

Code: [RBST0004]
Message: Expecting full variable dependency on i 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

#1175
Good catch, Zirun!

@ghislainfourny
Copy link
Member

@wzrain the master should now be fixed. Does it work for you now?

@wzrain
Copy link
Author

wzrain commented Feb 15, 2022

@ghislainfourny Thank you Ghislain. It works now. Issue closed. :)

@wzrain wzrain closed this as completed Feb 15, 2022
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

2 participants