You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by li...@apache.org on 2022/01/18 22:47:02 UTC

[superset] branch embedded updated (fe63435 -> 8f2bba9)

This is an automated email from the ASF dual-hosted git repository.

lilykuang pushed a change to branch embedded
in repository https://gitbox.apache.org/repos/asf/superset.git.


    from fe63435  feat: entry for embedded dashboard (#17529)
     add 26dc600  fix: handle null values in time-series table (#18039)
     add 5a74090  cleanup column_type_mappings (#17569)
     add 7728db7  important change to MakeFile (#18037)
     add b565273  Update superset-e2e.yml (#18041)
     add 5da3c45  Revert "Update superset-e2e.yml (#18041)" (#18051)
     add 0b67fe1  feat: Trino Authentications (#17593)
     add e53a50a  chore(supeset.utils.core): move all database utils to database utils module (#18058)
     add de8a1fa  chore(plugin-chart-echarts): add types to controls (#18059)
     add 8dea7f5  fix(generator): more cleanup to plugin framework (#18027)
     add 0c7f728  feat(advanced analytics): support groupby in resample (#18045)
     add 3b64563  fix(dashboard): scope of nativefilter not update (#18048)
     add 5bfe2d4  fix(generator): add lockfile and fix styling issues (#18073)
     add 88db2cc  refactor(sql_lab): SQL Lab Persistent Saved State (#17771)
     add 4675ca3  refactor(example_data): replace the way the birth_names data is loaded to DB (#18060)
     add 8f2bba9  Merge branch 'master' into embedded

No new revisions were added by this update.

Summary of changes:
 Makefile                                           |     2 +-
 .../pages/docs/Connecting to Databases/trino.mdx   |    91 +-
 .../docs/Contributing/creating-viz-plugins.mdx     |   140 +
 .../docs/installation/building-viz-plugins.mdx     |   217 -
 requirements/base.txt                              |     2 +
 requirements/testing.in                            |     1 +
 requirements/testing.txt                           |    10 +-
 .../packages/generator-superset/README.md          |     7 +-
 .../generators/plugin-chart/index.js               |    35 +-
 .../generators/plugin-chart/templates/README.erb   |    70 +-
 .../plugin-chart/templates/gitignore.erb           |   111 +
 .../plugin-chart/templates/package-lock.erb        | 28390 +++++++++++++++++++
 .../generators/plugin-chart/templates/package.erb  |    27 +-
 .../plugin-chart/templates/src/MyChart.erb         |    15 +-
 .../plugin-chart/templates/src/index.erb           |     2 +-
 .../plugin-chart/templates/src/plugin/index.erb    |     2 +-
 .../plugin-chart/templates/test/index.erb          |     6 +-
 .../generator-superset/test/plugin-chart.test.js   |     1 +
 .../src/operators/resampleOperator.ts              |    14 +-
 .../test/utils/operators/resampleOperator.test.ts  |    79 +-
 .../src/query/types/PostProcessing.ts              |     3 +
 .../plugins/plugin-chart-echarts/src/controls.tsx  |    27 +-
 superset-frontend/src/SqlLab/actions/sqlLab.js     |    26 +-
 .../src/SqlLab/actions/sqlLab.test.js              |     4 +-
 .../src/SqlLab/components/SaveQuery/index.tsx      |     7 +-
 .../src/SqlLab/components/SqlEditor/index.jsx      |    12 +-
 .../src/SqlLab/reducers/getInitialState.js         |     1 +
 superset-frontend/src/dashboard/actions/hydrate.js |     4 +-
 .../src/visualizations/TimeTable/TimeTable.jsx     |    17 +-
 superset-frontend/webpack.config.js                |    11 +-
 superset/cli.py                                    |     8 +-
 superset/commands/importers/v1/examples.py         |     3 +-
 superset/config.py                                 |    24 +-
 superset/db_engine_specs/base.py                   |   157 +-
 superset/db_engine_specs/mysql.py                  |    29 +-
 superset/db_engine_specs/postgres.py               |    38 +-
 superset/db_engine_specs/presto.py                 |    71 +-
 superset/db_engine_specs/trino.py                  |    43 +
 superset/examples/bart_lines.py                    |     2 +-
 superset/examples/birth_names.py                   |     2 +-
 superset/examples/country_map.py                   |     4 +-
 superset/examples/energy.py                        |     4 +-
 superset/examples/flights.py                       |     4 +-
 superset/examples/long_lat.py                      |     4 +-
 superset/examples/multiformat_time_series.py       |     2 +-
 superset/examples/paris.py                         |     4 +-
 superset/examples/random_time_series.py            |     4 +-
 superset/examples/sf_population_polygons.py        |     4 +-
 superset/examples/world_bank.py                    |     3 +-
 superset/models/core.py                            |    25 +-
 superset/models/sql_lab.py                         |    10 +
 superset/utils/core.py                             |    47 +-
 superset/utils/database.py                         |    88 +
 superset/utils/mock_data.py                        |     2 +-
 superset/utils/pandas_postprocessing.py            |    26 +-
 tests/conftest.py                                  |   103 +
 .../example_data_generator => consts}/__init__.py  |     9 -
 .../tests/__init__.py => consts/birth_names.py}    |    19 +-
 .../__init__.py => consts/us_states.py}            |    53 +
 .../__init__.py                                    |     9 -
 .../data_generator}/__init__.py                    |     0
 .../data_generator}/base_generator.py              |    10 -
 .../data_generator/birth_names}/__init__.py        |     9 -
 .../birth_names/birth_names_generator.py           |    70 +-
 .../birth_names/birth_names_generator_factory.py   |    13 +-
 .../data_generator}/consts.py                      |     0
 .../data_generator}/string_generator.py            |     9 -
 .../data_generator}/string_generator_factory.py    |     2 +-
 .../data_generator/tests}/__init__.py              |     0
 .../data_generator}/tests/test_string_generator.py |     6 +-
 .../data_loading}/__init__.py                      |     9 -
 .../data_loading/base_data_loader.py}              |    26 +-
 .../data_loading/data_definitions}/__init__.py     |     9 -
 .../data_loading/data_definitions/birth_names.py   |    64 +
 .../data_loading/data_definitions/types.py}        |    27 +-
 .../data_loading/pandas}/__init__.py               |     9 -
 .../data_loading/pandas/pandas_data_loader.py      |    89 +
 .../data_loading/pandas/pands_data_loading_conf.py |    64 +
 .../data_loading/pandas/table_df_convertor.py      |    46 +
 .../__init__.py                                    |    11 +-
 tests/fixtures/birth_names.py                      |    51 +
 tests/integration_tests/access_tests.py            |     2 +-
 tests/integration_tests/alerts_tests.py            |     5 +-
 tests/integration_tests/base_tests.py              |     3 +-
 tests/integration_tests/celery_tests.py            |     3 +-
 tests/integration_tests/charts/data/api_tests.py   |     3 +-
 tests/integration_tests/config_tests.py            |     2 +-
 tests/integration_tests/conftest.py                |    44 +-
 tests/integration_tests/core_tests.py              |    30 +-
 tests/integration_tests/css_templates/api_tests.py |     2 +-
 tests/integration_tests/csv_upload_tests.py        |     7 +-
 tests/integration_tests/databases/api_tests.py     |     2 +-
 .../integration_tests/databases/commands_tests.py  |     3 +-
 tests/integration_tests/datasets/api_tests.py      |     8 +-
 tests/integration_tests/datasets/commands_tests.py |     3 +-
 tests/integration_tests/datasource_tests.py        |     3 +-
 .../db_engine_specs/base_engine_spec_tests.py      |     2 +-
 .../db_engine_specs/trino_tests.py                 |    93 +
 .../integration_tests/dict_import_export_tests.py  |     2 +-
 .../fixtures/birth_names_dashboard.py              |    55 +-
 tests/integration_tests/fixtures/datasource.py     |     3 +-
 .../integration_tests/fixtures/energy_dashboard.py |     3 +-
 .../fixtures/unicode_dashboard.py                  |     3 +-
 .../fixtures/world_bank_dashboard.py               |     3 +-
 tests/integration_tests/import_export_tests.py     |     3 +-
 .../importexport/commands_tests.py                 |     2 +-
 tests/integration_tests/jinja_context_tests.py     |    27 +-
 tests/integration_tests/model_tests.py             |     2 +-
 .../pandas_postprocessing_tests.py                 |    67 +
 tests/integration_tests/queries/api_tests.py       |     2 +-
 .../queries/saved_queries/api_tests.py             |     2 +-
 .../queries/saved_queries/commands_tests.py        |     2 +-
 tests/integration_tests/reports/api_tests.py       |     2 +-
 tests/integration_tests/reports/commands_tests.py  |     2 +-
 tests/integration_tests/security_tests.py          |     2 +-
 tests/integration_tests/sql_validator_tests.py     |     2 +-
 tests/integration_tests/sqla_models_tests.py       |     2 +-
 tests/integration_tests/sqllab_tests.py            |     3 +-
 tests/integration_tests/strategy_tests.py          |     2 +-
 tests/integration_tests/utils_tests.py             |     2 +-
 120 files changed, 30162 insertions(+), 905 deletions(-)
 create mode 100644 docs/src/pages/docs/Contributing/creating-viz-plugins.mdx
 delete mode 100644 docs/src/pages/docs/installation/building-viz-plugins.mdx
 create mode 100644 superset-frontend/packages/generator-superset/generators/plugin-chart/templates/gitignore.erb
 create mode 100644 superset-frontend/packages/generator-superset/generators/plugin-chart/templates/package-lock.erb
 create mode 100644 superset/utils/database.py
 create mode 100644 tests/conftest.py
 copy tests/{common/example_data_generator => consts}/__init__.py (68%)
 copy tests/{common/example_data_generator/tests/__init__.py => consts/birth_names.py} (68%)
 rename tests/{common/example_data_generator/birth_names/__init__.py => consts/us_states.py} (75%)
 copy tests/{common/example_data_generator => example_data}/__init__.py (68%)
 copy tests/{common/example_data_generator/tests => example_data/data_generator}/__init__.py (100%)
 copy tests/{common/example_data_generator => example_data/data_generator}/base_generator.py (72%)
 copy tests/{common/example_data_generator => example_data/data_generator/birth_names}/__init__.py (68%)
 rename tests/{common/example_data_generator => example_data/data_generator}/birth_names/birth_names_generator.py (55%)
 rename tests/{common/example_data_generator => example_data/data_generator}/birth_names/birth_names_generator_factory.py (78%)
 rename tests/{common/example_data_generator => example_data/data_generator}/consts.py (100%)
 rename tests/{common/example_data_generator => example_data/data_generator}/string_generator.py (78%)
 rename tests/{common/example_data_generator => example_data/data_generator}/string_generator_factory.py (95%)
 copy tests/{common/example_data_generator => example_data/data_generator/tests}/__init__.py (100%)
 rename tests/{common/example_data_generator => example_data/data_generator}/tests/test_string_generator.py (85%)
 copy tests/{common/example_data_generator => example_data/data_loading}/__init__.py (68%)
 rename tests/{common/example_data_generator/tests/__init__.py => example_data/data_loading/base_data_loader.py} (66%)
 copy tests/{common/example_data_generator => example_data/data_loading/data_definitions}/__init__.py (68%)
 create mode 100644 tests/example_data/data_loading/data_definitions/birth_names.py
 rename tests/{common/example_data_generator/base_generator.py => example_data/data_loading/data_definitions/types.py} (68%)
 copy tests/{common/example_data_generator => example_data/data_loading/pandas}/__init__.py (68%)
 create mode 100644 tests/example_data/data_loading/pandas/pandas_data_loader.py
 create mode 100644 tests/example_data/data_loading/pandas/pands_data_loading_conf.py
 create mode 100644 tests/example_data/data_loading/pandas/table_df_convertor.py
 rename tests/{common/example_data_generator => fixtures}/__init__.py (68%)
 create mode 100644 tests/fixtures/birth_names.py