-
Notifications
You must be signed in to change notification settings - Fork 557
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 sql-insert format emits NULL as 'None' #1409
Conversation
Body: 1. Fix issue dbcli#1408 sql-insert format emits NULL as 'None'; 2. Fix DUAL displays as ""DUAL""; ==== End ====
Body: ==== End ====
Body: ==== End ====
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1409 +/- ##
==========================================
- Coverage 84.15% 79.59% -4.57%
==========================================
Files 21 25 +4
Lines 2720 2984 +264
==========================================
+ Hits 2289 2375 +86
- Misses 431 609 +178
☔ View full report in Codecov by Sentry. |
except ModuleNotFoundError as e: | ||
except ( | ||
ModuleNotFoundError | ||
) as e: # ImportError for Python 2, ModuleNotFoundError for Python 3 |
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.
We don't support python 2.
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.
Sure, it was added by black 😂
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.
Looks good @astroshot , thank you!
Description
Fix sql-insert format emits NULL as 'None' (issue 1408).
Checklist
changelog.rst
.AUTHORS
file (or it's already there).pip install pre-commit && pre-commit install
), and ranblack
on my code.