betodealmeida opened a new pull request #13448:
URL: https://github.com/apache/superset/pull/13448


   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   
   This PR adds a new CLI option to load big/wide tables into Superset. The 
goal is to create tables with synthetic data that help developers test new 
features and DB migrations in realistic scenarios.
   
   This first PR just adds a function called `add_data` that generates the data 
given a schema. When running `superset load-examples -b` it will also create a 
wide table with 100 columns, to help test SQL Lab (which behaves differently if 
the table has more than 50 columns).
   
   The next steps include adding more tables, as well as implementing 
functionality to add more rows to the Superset models, to help benchmark DB 
migrations.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   N/A
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   Ran `superset load-examples -b -t` and verified that the table `wide_table` 
was created, with 1000 rows and 100 columns.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to