-
Notifications
You must be signed in to change notification settings - Fork 14
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
EXCEPT doesn't work at all with JOIN #38
Comments
Hello again, and thank you so much for the feedback, and for the bug report!
|
I totally agree, if you disallow them being used together, the simple workaround is to run 2 consecutive queries, the 1st with The important part is, as you also pointed out, to not produce incorrect results. |
I fixed this in the master branch and will try to deploy the fix soon. |
Hello there,
it's me again. I found another bug.
Before describing it, I just quickly wanna thank you for RBQL and Rainbow CSV.
About 2 months ago I just searched for a VS Code extension to improve readably of .csv files.
Would have never imagined anything with such amazing functionality;
really improved my interactions with .csv files by multiple orders of magnitude.
On to the bug:
I've create 2 test .csv files
file1.csv
file2.csv
These two queries result in errors, so at least no incorrect results.
SELECT * EXCEPT b.id2 JOIN file2.csv ON a.id1==b.id2
SELECT * EXCEPT b.data2 JOIN file2.csv ON a.id1==b.id2
What is more problematic tho is that the following 2 queries return incorrect results.
Ofc isolated like this, it's pretty obvious, that the results are off; but in use it could potentially go by unnoticed in a bigger project.
SELECT * EXCEPT a.id1 JOIN file2.csv ON a.id1==b.id2
result (2 columns are missing):
SELECT * EXCEPT a.data1 JOIN file2.csv ON a.id1==b.id2
result (2 columns are missing):
Best regards
Tobias
The text was updated successfully, but these errors were encountered: