-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: Render LIMIT 0 and OFFSET 0 properly in SQL templates #8781
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8781 +/- ##
=======================================
Coverage 82.67% 82.68%
=======================================
Files 219 219
Lines 78127 78161 +34
=======================================
+ Hits 64589 64624 +35
+ Misses 13538 13537 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
7cb9cc5
to
b5a85d6
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 8 Skipped Deployments
|
bd23c96
to
da70a8e
Compare
a973ce4
to
7f8e091
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻 LGTM!
`if limit` condition in Jinja will fail for both None and Some(0) This is more or less fine for offset, but completely wrong for limit. For consistency both are changed. Also add unit test in SQL API and smoke E2E test
7f8e091
to
4e1ca10
Compare
Check List
Description of Changes Made (if issue reference is not provided)
if limit
condition in Jinja will fail for bothNone
andSome(0)
This is more or less fine for offset, but completely wrong for limit. For consistency both are changed.