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 2023/01/19 20:24:57 UTC

[superset] branch hxgh-fix-schema-ds updated (7473ac35f8 -> b2a81296ba)

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

hugh pushed a change to branch hxgh-fix-schema-ds
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard 7473ac35f8 save schema to form_data
     add d591cc8082 fix(sqllab): Invalid schema fetch for deprecated value (#22695)
     add af73c59b0a feat: Generic X-axis improvements (#22707)
     add 1fe4a71f5b feat: Adds a separator to Select All option (#22776)
     new b2a81296ba add schema to data

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   (7473ac35f8)
            \
             N -- N -- N   refs/heads/hxgh-fix-schema-ds (b2a81296ba)

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:
 superset-frontend/.storybook/preview.jsx           |  2 +-
 superset-frontend/src/SqlLab/actions/sqlLab.js     | 14 +++-
 .../src/SqlLab/actions/sqlLab.test.js              | 48 +++++++++++
 .../src/SqlLab/components/ResultSet/index.tsx      |  3 +-
 .../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx     |  4 +-
 .../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx     | 97 +++++++++++++++++++---
 .../SqlLab/components/SqlEditorLeftBar/index.tsx   |  1 -
 .../src/SqlLab/hooks/useQueryEditor/index.ts       | 33 +++++++-
 .../hooks/useQueryEditor/useQueryEditor.test.ts    | 28 ++++++-
 superset-frontend/src/SqlLab/types.ts              |  2 +-
 superset-frontend/src/components/Select/Select.tsx |  1 +
 superset-frontend/src/components/Select/styles.tsx |  4 +-
 .../FiltersConfigModal/FilterConfigurePane.tsx     |  2 +-
 .../FiltersConfigForm/FiltersConfigForm.tsx        | 20 +++++
 .../explore/components/ControlPanelsContainer.tsx  | 97 +++++++++++++++++++---
 .../DndColumnSelectControl/DndFilterSelect.tsx     | 42 +++++++++-
 .../FilterControl/AdhocFilterControl/index.jsx     | 31 ++++++-
 .../FilterControl/AdhocFilterEditPopover/index.jsx |  5 +-
 .../AdhocFilterPopoverTrigger/index.tsx            |  2 +
 .../components/controls/OptionControls/index.tsx   |  5 +-
 superset/models/sql_lab.py                         |  1 +
 21 files changed, 400 insertions(+), 42 deletions(-)


[superset] 01/01: add schema to data

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch hxgh-fix-schema-ds
in repository https://gitbox.apache.org/repos/asf/superset.git

commit b2a81296ba6c405c3f1d5cc4ccec67916355b025
Author: hughhhh <hu...@gmail.com>
AuthorDate: Thu Jan 19 22:24:22 2023 +0200

    add schema to data
---
 superset/models/sql_lab.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/models/sql_lab.py b/superset/models/sql_lab.py
index babea35baf..5417dec985 100644
--- a/superset/models/sql_lab.py
+++ b/superset/models/sql_lab.py
@@ -244,6 +244,7 @@ class Query(
             "owners": self.owners_data,
             "database": {"id": self.database_id, "backend": self.database.backend},
             "order_by_choices": order_by_choices,
+            "schema": self.schema
         }
 
     def raise_for_access(self) -> None: