-
Notifications
You must be signed in to change notification settings - Fork 49
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
For nested joins, there was an issue where calls to the inner most so… #211
Conversation
…urce got translated like :(a.(b.c)) while proper access should look like :((a.b).c). This commit adds an invert_getproperty_access translate function that performs the translation
Codecov Report
@@ Coverage Diff @@
## master #211 +/- ##
=========================================
- Coverage 92.22% 91.2% -1.03%
=========================================
Files 5 5
Lines 296 307 +11
=========================================
+ Hits 273 280 +7
- Misses 23 27 +4
Continue to review full report at Codecov.
|
@davidanthoff, this fixes the original queries Irene shared on slack (both queries with 3 joins & 5 joins). It seems to work on a handful of others I tried as well. The existing test suite also passes, so I don't think it breaks anything else. I added a few simple unit tests for the |
This is fantastic, it also fixes #133! And many bug reports I got via other channels that I never even filed here because I always thought I had to fix the inference stuff to sort this out :) I added one test with multiple You mentioned some unit tests for |
Ah, thanks for the reminder. I thought I had pushed the tests, but they were just sitting here locally. I just pushed them. |
Cool. I'll wait for CI to pass and then I'll merge. |
…urce got translated like :(a.(b.c)) while proper access should look like :((a.b).c). This commit adds an invert_getproperty_access translate function that performs the translation.
Fixes a query like: