-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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: Use superset generic db to catch external_metadata queries #13974
fix: Use superset generic db to catch external_metadata queries #13974
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13974 +/- ##
==========================================
- Coverage 79.50% 79.39% -0.12%
==========================================
Files 938 940 +2
Lines 47517 47593 +76
Branches 5939 5962 +23
==========================================
+ Hits 37778 37786 +8
- Misses 9618 9685 +67
- Partials 121 122 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
…/databaseerror-databaseerror-redacted-message
e0e92ed
to
e577365
Compare
b089d6a
to
300769d
Compare
* master: (53 commits) test: Adds tests to the UndoRedoKeyListeners component (#13919) chore: Adds dataMask reducer to reducerIndex (#13951) test: Tests audit for the Dashboard FilterBar (#13916) fix: unable to apply logging format (#14074) refactor: Bootstrap to AntD - Slider (#13989) chore(spa refactor): refactoring dashboard to use api's instead of bootstrapdata (#13306) fix(listview): update listview feature flag (#13906) Add docs for configuring Docker Compose setup (#13961) feat: invalid password error message (Postgres) (#14038) fix: flacky test in test_update_dataset_item_w_override_columns (#14082) feat: Implement Celery SoftTimeLimit handling (#13740) feat: only send alert error emails to owners of the alert (#13862) feat: add descriptions to report emails (#13827) Make chart exclude itself from cross filtering (#14046) fix: fix bug when remove chart not removing it's related cross filter data (#14081) feat(native-filters): Add default first value to select filter (#13726) feat: Make async query JWT cookie domain configurable (#14007) fix: add exception to catch session not having JWT (#14036) Use consistent chart value (#14031) fix: Use superset generic db to catch external_metadata queries (#13974) ...
SUMMARY
Stopping 500 errors from raising on external metadata queries. So wrapped
cursor = conn.cursor()
inside try/catch with aSupersetGenericDBError
to return 400 instead.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION