You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2025/06/04 18:33:24 UTC
(superset) branch sqlglot-tests updated (b1830b25c0 -> 789c101ba4)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch sqlglot-tests
in repository https://gitbox.apache.org/repos/asf/superset.git
discard b1830b25c0 chore: add tests to sql parsing
discard eefc631b46 chore: remove sqlparse
discard 0ff7dc35b7 feat: use sqlglot to validate adhoc subquery
omit 3b70bb4af5 Disable Hive x-catalog
omit fb999f18df WIP
omit 21022c240c WIP
add f0b6e87091 chore: update Dockerfile - Upgrade to 3.11.12 (#33612)
add a4bb11c755 chore: bump FAB to 4.7.0 (#33607)
add 429935a277 fix(big number with trendline): add None option to the aggregation method dropdown (#33407)
add e20a08cb14 fix: add query identifier to legend items in mixed time series charts (#33519)
add fdea4e21b0 feat: current_user_rls_rules Jinja macro (#33614)
add 235c9d2ebf chore(deps-dev): bump fastify from 4.29.0 to 4.29.1 in /superset-frontend (#33622)
add ed20d2a917 fix(Security): Apply permissions to the AllEntities list/get_objects API endpoint (#33577)
add f219dc1794 chore: make DB syntax errors 400 (#33619)
add cf315388f2 feat(sqllab): use sqlglot instead of sqlparse (#33542)
add 401ce56fa1 feat: use sqlglot to validate adhoc subquery (#33560)
add c09f8f6f76 fix(sqllab): save datasets with template parameters (#33195)
add b033406387 docs: CVE-2025-48912 added to 4.1.2 (#33662)
add 2d26af25c1 feat: Python 3.12 support (#33434)
add ade85daee2 feat(database): add SingleStore engine specification (#32887)
add fc13a0fde5 docs: add HPE to users list (#33665)
add fa0c5891bf feat(List Groups): Migrate List Groups FAB to React (#33301)
add cacf1e06d6 fix: Update dataset's last modified date from column/metric update (#33626)
add 20519158d2 feat(UserInfo): Migrate User Info FAB to React (#33620)
add ff34e3c81e fix: optimize catalog permission sync when importing dashboards (#33679)
add 1c2fee54a8 chore: remove sqlparse
add 789c101ba4 chore: add tests to sql parsing
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b1830b25c0)
\
N -- N -- N refs/heads/sqlglot-tests (789c101ba4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/pre-commit.yml | 2 +-
.../workflows/superset-python-integrationtest.yml | 2 +-
.github/workflows/superset-python-unittest.yml | 2 +-
Dockerfile | 2 +-
RESOURCES/INTHEWILD.md | 1 +
docs/docs/configuration/databases.mdx | 13 +-
docs/docs/configuration/sql-templating.mdx | 8 +
docs/docs/security/cves.mdx | 1 +
pyproject.toml | 9 +-
requirements/base.in | 3 +
requirements/base.txt | 30 +-
requirements/development.txt | 30 +-
superset-frontend/package-lock.json | 6 +-
.../src/operators/aggregateOperator.ts | 2 +-
.../src/shared-controls/customControls.tsx | 5 +-
.../BigNumberWithTrendline/buildQuery.test.ts | 86 ++++
.../BigNumber/BigNumberWithTrendline/buildQuery.ts | 34 +-
.../src/MixedTimeseries/transformProps.ts | 32 +-
.../src/utils/metricDisplayName.ts | 59 +++
.../test/MixedTimeseries/transformProps.test.ts | 13 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 4 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 85 ++++
.../SqlLab/components/SaveDatasetModal/index.tsx | 48 +-
.../components/{Tags => Descriptions}/index.tsx | 4 +-
.../src/components/Icons/AntdEnhanced.tsx | 2 +
.../src/components/Modal/FormModal.tsx | 2 +-
superset-frontend/src/constants.ts | 5 +
.../features/allEntities/AllEntitiesTable.test.tsx | 4 +-
.../src/features/allEntities/AllEntitiesTable.tsx | 5 +-
.../src/features/groups/GroupListModal.tsx | 164 ++++++
.../src/features/roles/RoleFormItems.tsx | 35 +-
.../src/features/roles/RoleListAddModal.tsx | 6 +-
.../features/roles/RoleListDuplicateModal.test.tsx | 1 +
.../src/features/roles/RoleListDuplicateModal.tsx | 6 +-
.../src/features/roles/RoleListEditModal.test.tsx | 55 +++
.../src/features/roles/RoleListEditModal.tsx | 144 ++++--
superset-frontend/src/features/roles/types.ts | 8 +-
superset-frontend/src/features/roles/utils.ts | 6 +
superset-frontend/src/features/tags/tags.ts | 14 -
.../src/features/userInfo/UserInfoModal.tsx | 150 ++++++
.../src/features/users/UserListModal.tsx | 57 ++-
superset-frontend/src/features/users/utils.ts | 22 +-
.../src/pages/GroupsList/GroupsList.test.tsx | 165 +++++++
superset-frontend/src/pages/GroupsList/index.tsx | 459 +++++++++++++++++
.../src/pages/RolesList/RolesList.test.tsx | 6 +-
superset-frontend/src/pages/RolesList/index.tsx | 165 +++----
.../src/pages/UserInfo/UserInfo.test.tsx | 126 +++++
superset-frontend/src/pages/UserInfo/index.tsx | 238 +++++++++
superset-frontend/src/pages/UsersList/index.tsx | 147 ++++--
superset-frontend/src/types/bootstrapTypes.ts | 1 +
superset-frontend/src/utils/datasourceUtils.js | 1 +
superset-frontend/src/utils/fetchOptions.ts | 113 +++++
superset-frontend/src/views/routes.tsx | 12 +
superset/commands/database/test_connection.py | 6 +-
superset/commands/database/utils.py | 19 +-
superset/commands/database/validate.py | 2 +-
superset/connectors/sqla/models.py | 21 +-
superset/daos/dataset.py | 8 +-
superset/daos/tag.py | 192 ++++---
superset/datasets/schemas.py | 1 +
superset/db_engine_specs/singlestore.py | 549 +++++++++++++++++++++
superset/initialization/__init__.py | 11 +
superset/jinja_context.py | 93 ++--
...14-38_a9422eeaae74_new_dataset_models_take_2.py | 4 +-
superset/models/helpers.py | 31 +-
superset/security/api.py | 4 +
superset/security/manager.py | 6 +-
superset/sql/parse.py | 1 +
superset/sql_lab.py | 35 +-
superset/tags/api.py | 4 +-
superset/utils/rls.py | 68 ++-
superset/views/base.py | 4 +-
superset/views/{users_list.py => groups.py} | 4 +-
superset/views/{users_list.py => user_info.py} | 6 +-
superset/views/users/api.py | 86 +++-
superset/views/users/schemas.py | 32 +-
superset/views/utils.py | 1 +
tests/integration_tests/databases/api_tests.py | 4 +-
tests/integration_tests/datasets/api_tests.py | 25 +-
tests/integration_tests/query_context_tests.py | 35 +-
tests/integration_tests/reports/commands_tests.py | 2 +-
tests/integration_tests/security_tests.py | 1 +
tests/integration_tests/tags/api_tests.py | 137 ++++-
tests/integration_tests/tags/dao_tests.py | 40 +-
tests/integration_tests/users/api_tests.py | 31 ++
tests/unit_tests/commands/dataset/update_test.py | 2 +-
tests/unit_tests/dao/dataset_test.py | 99 ++++
tests/unit_tests/databases/commands/utils_test.py | 31 ++
.../unit_tests/db_engine_specs/test_singlestore.py | 216 ++++++++
tests/unit_tests/jinja_context_test.py | 97 +++-
tests/unit_tests/models/helpers_test.py | 2 +-
tests/unit_tests/security/api_test.py | 1 +
tests/unit_tests/sql_lab_test.py | 72 ++-
93 files changed, 3917 insertions(+), 666 deletions(-)
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/buildQuery.test.ts
create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/utils/metricDisplayName.ts
copy superset-frontend/src/components/{Tags => Descriptions}/index.tsx (88%)
create mode 100644 superset-frontend/src/features/groups/GroupListModal.tsx
create mode 100644 superset-frontend/src/features/userInfo/UserInfoModal.tsx
create mode 100644 superset-frontend/src/pages/GroupsList/GroupsList.test.tsx
create mode 100644 superset-frontend/src/pages/GroupsList/index.tsx
create mode 100644 superset-frontend/src/pages/UserInfo/UserInfo.test.tsx
create mode 100644 superset-frontend/src/pages/UserInfo/index.tsx
create mode 100644 superset-frontend/src/utils/fetchOptions.ts
create mode 100644 superset/db_engine_specs/singlestore.py
copy superset/views/{users_list.py => groups.py} (94%)
copy superset/views/{users_list.py => user_info.py} (92%)
create mode 100644 tests/unit_tests/db_engine_specs/test_singlestore.py