You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/11/22 17:43:47 UTC

[superset] branch update-export-rbac updated (14e6b38 -> 7b408ca)

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

hugh pushed a change to branch update-export-rbac
in repository https://gitbox.apache.org/repos/asf/superset.git.


    from 14e6b38  update test
     add 56d742f  chore(fr-translation): update whole French translation (based on 1.3.0 release) (#16868)
     add b914e2d  refactor: queryObject - decouple from queryContext and clean code (#17465)
     add 377db1b  refactor: queryObject - add QueryObjectFactory (#17466)
     add b2363e4  fix(Dashboard): Save empty label_colors in json_metadata (#17462)
     add 683d1da  refactor(QueryObject):  decouple from superset (#17479)
     add 7b68002  fix: create-admin command in Makefile (#17471)
     add fb1bc6c  Update Makefile (#17480)
     add 8d8fbac  chore(deps-dev): bump @types/react-loadable in /superset-frontend (#17454)
     add 02a9b84  chore: Bump FAB to 3.4.0 (#17420)
     add 69f9ee8  fix: feature flags typing (#15254)
     add 8e1619b  fix(sqllab): Have table name tooltip only show when name is truncated (#17386)
     add 69c3cc7  chore(sql_lab): Added Unit Test for stop query exception (#17464)
     add 261e418  chore(deps): bump cachelib from 0.1.1 to 0.4.1 (#17482)
     add 8a6ecd3  refactor(QueryContext): add QueryContextFactory (#17495)
     add 4b7d06c  refactor(QueryContext): move df methods utils to utils package (#17496)
     add 19f1c40  docs: Update frequently-asked-questions-page.mdx (#14837)
     add 8da982b  fix(presto): expand data with null item (#17470)
     add 062039c  docs: mention that username should be admin to load examples (#17484)
     add 66d7569  refactor(QueryContext): separate all processing concerns into QueryContextProcessor (#17497)
     add 1f8eff7  fix: Always use temporal type for dttm columns [ID-2] (#17458)
     add a7ccc00  Merge branch 'master' of https://github.com/apache/superset into update-export-rbac
     add 7b408ca  use default dataset

No new revisions were added by this update.

Summary of changes:
 Makefile                                           |    12 +-
 UPDATING.md                                        |     1 +
 .../pages/docs/frequently-asked-questions-page.mdx |     3 +
 .../pages/docs/installation/installing_scratch.mdx |     2 +-
 requirements/base.txt                              |     4 +-
 setup.py                                           |     4 +-
 superset-frontend/package-lock.json                |    22 +-
 superset-frontend/package.json                     |     2 +-
 .../components/ScheduleQueryButton/index.tsx       |    13 +-
 .../src/SqlLab/components/SqlEditor/index.jsx      |    13 +-
 .../src/SqlLab/components/TableElement/index.tsx   |    72 +-
 .../src/dashboard/components/Dashboard.jsx         |     2 +-
 superset-frontend/src/showSavedQuery/index.jsx     |     2 +-
 superset/charts/data/api.py                        |    15 +-
 superset/charts/post_processing.py                 |    11 +-
 superset/charts/schemas.py                         |    19 +-
 superset/common/query_actions.py                   |     2 +-
 superset/common/query_context.py                   |   468 +-
 superset/common/query_context_factory.py           |    83 +
 ...query_context.py => query_context_processor.py} |   410 +-
 superset/common/query_object.py                    |   139 +-
 superset/common/query_object_factory.py            |   134 +
 .../charts => superset/common/utils}/__init__.py   |     0
 .../dataframe_utils.py}                            |    29 +-
 .../{utils.py => utils/query_cache_manager.py}     |     2 +
 superset/config.py                                 |    10 +-
 superset/dashboards/dao.py                         |     3 +-
 superset/db_engine_specs/presto.py                 |     5 +-
 superset/models/slice.py                           |    22 +-
 superset/translations/fr/LC_MESSAGES/messages.json |  4068 ++++---
 superset/translations/fr/LC_MESSAGES/messages.po   | 11290 ++++++++++++-------
 superset/utils/core.py                             |    16 +-
 superset/utils/feature_flag_manager.py             |     6 +-
 superset/views/api.py                              |    24 +-
 superset/views/base.py                             |     1 +
 superset/views/core.py                             |     9 +-
 superset/viz.py                                    |    17 +-
 tests/{unit_tests/charts => common}/__init__.py    |     0
 .../query_context_generator.py}                    |    59 +-
 tests/integration_tests/charts/data/api_tests.py   |     7 +-
 tests/integration_tests/charts/schema_tests.py     |    28 +-
 tests/integration_tests/core_tests.py              |    23 +-
 tests/integration_tests/datasets/api_tests.py      |    10 +-
 .../db_engine_specs/presto_tests.py                |    54 +
 tests/integration_tests/fixtures/query_context.py  |   225 +-
 tests/integration_tests/query_context_tests.py     |     1 +
 tests/integration_tests/sql_validator_tests.py     |    20 +-
 tests/integration_tests/utils_tests.py             |     7 +-
 tests/unit_tests/{charts => common}/__init__.py    |     0
 .../unit_tests/common/test_query_object_factory.py |   116 +
 50 files changed, 10663 insertions(+), 6822 deletions(-)
 create mode 100644 superset/common/query_context_factory.py
 copy superset/common/{query_context.py => query_context_processor.py} (76%)
 create mode 100644 superset/common/query_object_factory.py
 copy {tests/unit_tests/charts => superset/common/utils}/__init__.py (100%)
 copy superset/common/{request_contexed_based.py => utils/dataframe_utils.py} (54%)
 rename superset/common/{utils.py => utils/query_cache_manager.py} (99%)
 copy tests/{unit_tests/charts => common}/__init__.py (100%)
 copy tests/{integration_tests/fixtures/query_context.py => common/query_context_generator.py} (85%)
 copy tests/unit_tests/{charts => common}/__init__.py (100%)
 create mode 100644 tests/unit_tests/common/test_query_object_factory.py