-
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
feat: add source tab to DatasourceEditor #10731
Conversation
9c943e3
to
faf9baa
Compare
Codecov Report
@@ Coverage Diff @@
## master #10731 +/- ##
==========================================
- Coverage 60.87% 60.66% -0.21%
==========================================
Files 803 803
Lines 37928 37938 +10
Branches 3561 3570 +9
==========================================
- Hits 23088 23015 -73
- Misses 14654 14737 +83
Partials 186 186
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
c648e14
to
8d9210a
Compare
@@ -831,10 +831,6 @@ def test_export_dataset(self): | |||
self.login(username="admin") | |||
rv = self.get_assert_metric(uri, "export") | |||
self.assertEqual(rv.status_code, 200) | |||
self.assertEqual( |
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.
This was having mismatch timestamp on filename
tests/datasets/api_tests.py
Outdated
@@ -849,7 +845,9 @@ def test_export_dataset(self): | |||
expected_response = export_table | |||
break | |||
ui_export = yaml.safe_load(rv.data.decode("utf-8")) | |||
self.assertEqual(ui_export[0], expected_response) | |||
# TODO re-enable flaky next line |
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.
https://github.com/apache/incubator-superset/pull/10731/checks?check_run_id=1091887012
for reference:
=================================== FAILURES ===================================
______________________ TestDatasetApi.test_export_dataset ______________________
self = <tests.datasets.api_tests.TestDatasetApi testMethod=test_export_dataset>
8d9210a
to
895e510
Compare
SUMMARY
Add a
Source
tab to the dataset editorTODO: expose database/schema selector on virtual dataset, this will require some refactoring around
TableSelector
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF