-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
refactor: sqllab: move sqllab ralated enumns and utils to more logical place #16843
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16843 +/- ##
==========================================
- Coverage 77.00% 76.79% -0.22%
==========================================
Files 1018 1021 +3
Lines 54687 54716 +29
Branches 7461 7461
==========================================
- Hits 42112 42018 -94
- Misses 12331 12454 +123
Partials 244 244
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Basic extraction refactor
LGTM!
…l place (apache#16843) * refactor move QueryStatus to common * refactor move apply_display_max_row_limit to sqllab package * refactor move limiting_factor to sqllab package * fix pylint issues
…l place (apache#16843) * refactor move QueryStatus to common * refactor move apply_display_max_row_limit to sqllab package * refactor move limiting_factor to sqllab package * fix pylint issues
SUMMARY
The sql_json view code in superset core view without any "clean code" standard and it does not adopt any software development principle.
This is the fourteenth PR in the sequence of future PRs ([previous PR](refactor: sql_json view endpoint: move all logic from view to Command class)) try to solve it by refactoring the code.
The PR focus on moving QueryStatus and LimitingFactor and sqllab utils to more precise place
actually, there are no logic changes so it implies on the current tests.