This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch databricks-catalogs
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 771f1245bb feat: catalog support for Databricks native
add 9e4ba6762f fix: Scroll to top when selecting a global dashboard tab
(#28386)
add 55f3b46f41 fix: Contribution percentages for ECharts plugins (#28368)
add c8185694be fix: update links to reference docs listing Superset issue
codes (#28389)
add 07cd1d89d0 fix(explore): hide advanced analytics for non temporal
xaxis (#28312)
add ce668d46cc feat(SIP-95): catalogs in SQL Lab and datasets (#28376)
new 493d00af59 feat: catalog support for Databricks native
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 (771f1245bb)
\
N -- N -- N refs/heads/databricks-catalogs (493d00af59)
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.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/operators/contributionOperator.ts | 3 +-
.../src/sections/advancedAnalytics.tsx | 3 +-
.../src/sections/forecastInterval.tsx | 2 +
.../src/shared-controls/sharedControls.tsx | 22 +--
.../superset-ui-chart-controls/src/types.ts | 4 +
.../src/utils/displayTimeRelatedControls.ts} | 30 ++--
.../superset-ui-chart-controls/src/utils/index.ts | 1 +
.../test/utils/displayTimeRelatedControls.test.ts | 118 ++++++++++++++++
.../superset-ui-core/src/query/types/Query.ts | 1 +
.../superset-ui-core/src/ui-overrides/types.ts | 1 +
.../src/Timeseries/buildQuery.ts | 10 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 30 +++-
.../src/SqlLab/actions/sqlLab.test.js | 31 ++++-
.../SqlLab/components/AceEditorWrapper/index.tsx | 3 +
.../AceEditorWrapper/useKeywords.test.ts | 15 +-
.../components/AceEditorWrapper/useKeywords.ts | 9 +-
.../SaveDatasetModal/SaveDatasetModal.test.tsx | 32 +++++
.../SqlLab/components/SaveDatasetModal/index.tsx | 2 +
.../SqlLab/components/SaveQuery/SaveQuery.test.tsx | 1 +
.../src/SqlLab/components/SaveQuery/index.tsx | 4 +-
.../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx | 61 +++++++-
.../SqlLab/components/SqlEditorLeftBar/index.tsx | 34 ++++-
.../SqlLab/components/TabbedSqlEditors/index.tsx | 2 +
.../src/SqlLab/components/TableElement/index.tsx | 4 +-
superset-frontend/src/SqlLab/fixtures.ts | 15 ++
.../src/SqlLab/reducers/getInitialState.ts | 2 +
superset-frontend/src/SqlLab/reducers/sqlLab.js | 14 ++
superset-frontend/src/SqlLab/types.ts | 2 +
.../SqlLab/utils/reduxStateToLocalStorageHelper.ts | 38 ++---
.../DatabaseSelector/DatabaseSelector.test.tsx | 8 ++
.../src/components/DatabaseSelector/index.tsx | 110 +++++++++++++--
.../src/components/Datasource/DatasourceEditor.jsx | 13 ++
.../src/components/ErrorMessage/IssueCode.test.tsx | 2 +-
.../src/components/ErrorMessage/IssueCode.tsx | 2 +-
.../TableSelector/TableSelector.test.tsx | 7 +
.../src/components/TableSelector/index.tsx | 36 ++++-
.../src/dashboard/actions/dashboardState.js | 5 -
.../DashboardBuilder/DashboardBuilder.tsx | 1 +
.../src/dashboard/reducers/dashboardState.js | 7 -
.../src/dashboard/reducers/dashboardState.test.ts | 14 +-
.../src/explore/actions/exploreActions.test.js | 21 +++
.../src/explore/actions/exploreActions.ts | 13 ++
.../components/ControlPanelsContainer.test.tsx | 62 ++++++++-
.../explore/components/ControlPanelsContainer.tsx | 155 ++++++++++++---------
.../components/ExploreViewContainer/index.jsx | 9 +-
.../StashFormDataContainer.test.tsx | 57 ++++++++
.../components/StashFormDataContainer/index.tsx} | 33 ++++-
.../DndColumnSelectControl/DndFilterSelect.tsx | 10 +-
.../FilterControl/AdhocFilterControl/index.jsx | 10 +-
.../src/explore/reducers/exploreReducer.js | 25 ++++
superset-frontend/src/explore/types.ts | 2 +
.../databases/DatabaseModal/ExtraOptions.tsx | 23 ++-
.../DatabaseModal/SSHTunnelSwitch.test.tsx | 1 +
.../UploadDataModel/UploadDataModal.test.tsx | 4 +
superset-frontend/src/features/databases/types.ts | 3 +
.../datasets/AddDataset/DatasetPanel/index.tsx | 13 +-
.../features/datasets/AddDataset/Footer/index.tsx | 1 +
.../datasets/AddDataset/LeftPanel/index.tsx | 10 ++
.../src/features/datasets/AddDataset/types.tsx | 3 +
.../hooks/apiResources/{schemas.ts => catalogs.ts} | 43 +++---
superset-frontend/src/hooks/apiResources/index.ts | 1 +
.../src/hooks/apiResources/queryApi.ts | 1 +
.../src/hooks/apiResources/queryValidations.ts | 4 +-
.../src/hooks/apiResources/schemas.test.ts | 10 +-
.../src/hooks/apiResources/schemas.ts | 31 ++++-
.../src/hooks/apiResources/sqlEditorTabs.ts | 2 +
superset-frontend/src/hooks/apiResources/sqlLab.ts | 2 +
.../src/hooks/apiResources/tables.test.ts | 16 +++
superset-frontend/src/hooks/apiResources/tables.ts | 35 +++--
.../src/pages/DatasetCreation/index.tsx | 9 ++
superset-frontend/src/types/Database.ts | 1 +
superset-frontend/src/utils/datasourceUtils.js | 1 +
superset-frontend/src/utils/urlUtils.test.ts | 46 +++++-
superset-frontend/src/utils/urlUtils.ts | 13 ++
superset/cachekeys/api.py | 1 +
superset/commands/dashboard/importers/v0.py | 1 +
superset/commands/database/validate_sql.py | 2 +-
superset/connectors/sqla/models.py | 10 +-
superset/dashboards/schemas.py | 1 +
superset/databases/api.py | 1 +
superset/databases/schemas.py | 22 ++-
superset/datasets/api.py | 10 +-
superset/datasets/schemas.py | 7 +
superset/db_engine_specs/base.py | 1 +
superset/migrations/shared/catalogs.py | 143 +++++++++++++++++--
...3_4081be5b6b74_enable_catalog_in_databricks.py} | 27 ++--
superset/models/core.py | 5 +
superset/models/sql_lab.py | 1 +
superset/queries/saved_queries/api.py | 16 ++-
superset/sqllab/schemas.py | 1 +
superset/sqllab/sqllab_execution_context.py | 4 +
superset/sqllab/utils.py | 1 +
.../utils/pandas_postprocessing/contribution.py | 108 ++++++++++++--
superset/views/database/mixins.py | 4 +-
superset/views/datasource/schemas.py | 3 +
superset/views/datasource/views.py | 1 +
superset/views/sql_lab/views.py | 1 +
.../pandas_postprocessing/test_contribution.py | 86 +++++++++---
98 files changed, 1505 insertions(+), 321 deletions(-)
copy
superset-frontend/packages/{superset-ui-core/src/validator/legacyValidateInteger.ts
=> superset-ui-chart-controls/src/utils/displayTimeRelatedControls.ts} (59%)
create mode 100644
superset-frontend/packages/superset-ui-chart-controls/test/utils/displayTimeRelatedControls.test.ts
create mode 100644
superset-frontend/src/explore/components/StashFormDataContainer/StashFormDataContainer.test.tsx
copy
superset-frontend/{packages/superset-ui-core/src/hooks/useComponentDidUpdate/useComponentDidUpdate.ts
=> src/explore/components/StashFormDataContainer/index.tsx} (51%)
copy superset-frontend/src/hooks/apiResources/{schemas.ts => catalogs.ts} (72%)
copy
superset/migrations/versions/{2024-01-16_13-14_59a1450b3c10_drop_filter_sets_table.py
=> 2024-05-08_19-33_4081be5b6b74_enable_catalog_in_databricks.py} (69%)