[WiP] work on Superset example improvement#7472
Closed
rjurney wants to merge 114 commits into
Closed
Conversation
…-t' options to cli (cherry picked from commit 185aaf0)
(cherry picked from commit 9a48598)
…hboards and warns if none come up (cherry picked from commit d4f2fc2)
…on to CLI. Changed config.EXPORT_DIRECTORY to config.DASHBOARD_EXPORT_DIR. Dashboard.export_dashboards gets export_data and export_data_dir args, does table export via SQL. dashboard_import_export.export_dashboards gets export_data/export_data_dir args.
…ing has a 'tables' section. Uses type inference atm.
…, along with a migration.
…urney-examples-master
….utils.dashboard_import_export.export_dashboards in order to add metadata fields for examples
Contributor
Author
|
See SIP for this work in #7571 |
…urney-examples-master
…urney-examples-master
… before datasources and dashboards
…, added test cases test_examples_import_duplicate and test_examples_import_duplicate_uuid
…urney-examples-master
Contributor
Author
|
@mistercrunch Ok, latest commit removes |
6 tasks
12 tasks
mistercrunch
added a commit
to preset-io/superset
that referenced
this pull request
Jul 13, 2019
related to apache#7472, longer term we will generate the examples by exporting them into tarball as in apache#7472. In the meantime, we need this subset of the features: * allowing specifying an alternate database connection for examples * allowing a --only-metadata flag to `load_examples` to load only dashboard and chart definitions, no actual data is loaded
mistercrunch
added a commit
to mistercrunch/superset
that referenced
this pull request
Jul 16, 2019
related to apache#7472, longer term we will generate the examples by exporting them into tarball as in apache#7472. In the meantime, we need this subset of the features: * allowing specifying an alternate database connection for examples * allowing a --only-metadata flag to `load_examples` to load only dashboard and chart definitions, no actual data is loaded
mistercrunch
added a commit
that referenced
this pull request
Jul 17, 2019
* [WiP] improve load_examples related to #7472, longer term we will generate the examples by exporting them into tarball as in #7472. In the meantime, we need this subset of the features: * allowing specifying an alternate database connection for examples * allowing a --only-metadata flag to `load_examples` to load only dashboard and chart definitions, no actual data is loaded * Improve logging * Rename data->examples * Load only if not exist * By default do not load, add a force flag * fix build * set published to true
alex-mark
pushed a commit
to alex-mark/incubator-superset
that referenced
this pull request
Jul 29, 2019
* [WiP] improve load_examples related to apache#7472, longer term we will generate the examples by exporting them into tarball as in apache#7472. In the meantime, we need this subset of the features: * allowing specifying an alternate database connection for examples * allowing a --only-metadata flag to `load_examples` to load only dashboard and chart definitions, no actual data is loaded * Improve logging * Rename data->examples * Load only if not exist * By default do not load, add a force flag * fix build * set published to true
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
* [WiP] improve load_examples related to apache#7472, longer term we will generate the examples by exporting them into tarball as in apache#7472. In the meantime, we need this subset of the features: * allowing specifying an alternate database connection for examples * allowing a --only-metadata flag to `load_examples` to load only dashboard and chart definitions, no actual data is loaded * Improve logging * Rename data->examples * Load only if not exist * By default do not load, add a force flag * fix build * set published to true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CATEGORY
Choose one
SUMMARY
This pull request represents in progress work on improving the examples capabilities of superset.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
I will add tox testing to the cli, which at the moment has none.
ADDITIONAL INFORMATION
REVIEWERS
@mistercrunch