-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
feat: Create db_engine_spec ibmi.py #26161
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #26161 +/- ##
==========================================
- Coverage 69.13% 66.90% -2.23%
==========================================
Files 1941 1942 +1
Lines 75895 75908 +13
Branches 8454 8454
==========================================
- Hits 52468 50790 -1678
- Misses 21249 22940 +1691
Partials 2178 2178
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Comment about DRYing up the code. Also, it would be great if you could add a few simple unit tests for this. You can take a look at tests/unit_tests/db_engine_specs
.
Not sure on the pre-commit failure. |
@wAVeckx you're missing a newline before the class declaration: |
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
SUMMARY
Similar to db2, but needed for ibmi with some adjustments. This will work with sqlalchemy-ibmi.
TESTING INSTRUCTIONS
Test with SQL Lab with an IBM i database. Without this change it will fail with using LIMIT.
ADDITIONAL INFORMATION