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 2024/03/22 15:56:22 UTC

(superset) branch remove-sqlparse-kusto updated (bc7a159aef -> 43034d64e0)

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

beto pushed a change to branch remove-sqlparse-kusto
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard bc7a159aef Add explicit test for split_kql
    omit dbe087fa80 feat: support for KQL in SQLQuery
     add 30e7ad929e build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /docs (#27517)
     add b8f4d8099f build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 in /superset-embedded-sdk (#27516)
     add 05d97b02e3 build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 in /superset-frontend (#27518)
     add 13b6489b37 chore(docs): fix last broken Slack join link in docs (#27533)
     add ad9024b040 fix(alerts/reports): implementing custom_width as an Antd number input (#27260)
     add ae294274c7 feat(plugins):  add color options for big number with time comparison (#27524)
     add 1c155e8591 fix(explore): Allow only saved metrics and columns (#27539)
     add d820c9c2ff fix: typo in configuring-superset.mdx (#27541)
     add 36fd3c0bf8 feat: `improve _extract_tables_from_sql` (#26748)
     add 376bfd05bd fix: pass valid SQL to SM (#27464)
     add f4bdcb5743 perf(sqllab): reduce bootstrap data delay by queries (#27488)
     add 56a6660c16 chore: 2nd try - simplify python dependencies (#27505)
     add 8341afbcf0 chore(helm): Bumping app version to 3.1.1 in helm chart (#27569)
     add 36290ce72f fix: guest queries (#27566)
     add 86aa8bde8b feat(maps): Add Italy regions code to the map generator notebook (#27542)
     add ad7bd09819 chore: Update required jobs in asf.yml (#27574)
     add d5680ad376 feat(supersetbot): label PRs and issues with author's public org (#27571)
     add 5e8459bb91 fix: Hive integration test (#27523)
     add d0d9fc5bdf fix: bump sqlglot to support materialized CTEs (#27576)
     add f274c4785d fix: skip another Hive test (#27595)
     add 718cd64657 fix: Skips Hive tests that are blocking PRs (#27605)
     add e32b1c861f docs: make k8s top item in Installation section (#27540)
     add fcceaf081c fix(db_engine_specs): Update convert_dttm to work correctly with CrateDB (#27567)
     add 6e528426dd feat: Adds option to disable drill to detail per database (#27536)
     add 6f3afab01d fix(docker): error around missing requirements/base.txt (#27608)
     add 72a41c1642 fix: sqlglot SQL Server (#27577)
     add bfe55b9ded fix: Volatile datasource ordering in dashboard export (#19595)
     add d4d8625ab8 fix(utils): fix off-by-one error in how rolling window's min_periods truncates dataframe (#27388)
     add a8c01f4cad build(deps-dev): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /superset-frontend (#27610)
     add b25dd0c055 fix(sql_parse): Ensure table extraction handles Jinja templating (#27470)
     add 842b0939f6 fix(Dashboard): Add editMode conditional for translate3d fix on charts to allow intended Fullscreen (#27613)
     add a47469f4c5 chore(examples): organizing example chart yaml files into dashboard folders (#27572)
     add ec6bfcbaa0 chore(docs): clarifying doc comments about LOGO_TARGET_PATH (#27579)
     add 8a715cc1b5 feat(bar_chart): Stacked Bar chart with Time comparison in separated stacks (#27589)
     add 5083ca0e81 fix: Persist query params appended to permalink (#27601)
     add 0d61992415 feat: support for KQL in SQLQuery
     add 43034d64e0 Add explicit test for split_kql

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   (bc7a159aef)
            \
             N -- N -- N   refs/heads/remove-sqlparse-kusto (43034d64e0)

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:
 .asf.yaml                                          |   3 +
 .github/actions/setup-backend/action.yml           |  33 +++
 .github/supersetbot/package.json                   |   2 +-
 .github/supersetbot/src/cli.js                     |   8 +-
 .github/supersetbot/src/cli.test.js                |  12 +
 .github/supersetbot/src/context.js                 |   2 +-
 .github/workflows/issue_creation.yml               |  26 ++
 .github/workflows/no-op.yml                        |  30 ++
 .github/workflows/pre-commit.yml                   |  19 +-
 .github/workflows/superset-applitool-cypress.yml   |  23 +-
 .github/workflows/superset-cli.yml                 |  15 +-
 .github/workflows/superset-e2e.yml                 |  12 +-
 .../workflows/superset-python-integrationtest.yml  |  30 +-
 .github/workflows/superset-python-misc.yml         |  25 +-
 .github/workflows/superset-python-presto-hive.yml  |  30 +-
 .github/workflows/superset-python-unittest.yml     |  16 +-
 .github/workflows/superset-translations.yml        |   2 +-
 CONTRIBUTING.md                                    |   6 +-
 Dockerfile                                         |  18 +-
 Makefile                                           |   6 +-
 UPDATING.md                                        |   5 +-
 docs/docs/contributing/hooks-and-linting.mdx       |   2 +-
 docs/docs/contributing/local-backend.mdx           |   4 +-
 docs/docs/installation/configuring-superset.mdx    |   2 +-
 .../installing-superset-using-docker-compose.mdx   |  21 +-
 docs/docs/installation/running-on-kubernetes.mdx   |  12 +-
 docs/docs/intro.mdx                                |   1 -
 docs/docs/quickstart.mdx                           |   2 +-
 docs/static/resources/openapi.json                 |   3 +
 docs/yarn.lock                                     |   6 +-
 helm/superset/Chart.yaml                           |   4 +-
 helm/superset/README.md                            |   2 +-
 requirements/base.txt                              |   8 +-
 requirements/development.in                        |  18 +-
 requirements/development.txt                       | 198 ++++++++++++-
 requirements/docker.in                             |  19 --
 requirements/docker.txt                            |  23 --
 requirements/integration.in                        |  19 --
 requirements/integration.txt                       |  74 -----
 requirements/local.in                              |  17 --
 requirements/local.txt                             |  15 -
 requirements/testing.in                            |  31 ---
 requirements/testing.txt                           | 147 ----------
 setup.py                                           |   2 +-
 superset-embedded-sdk/package-lock.json            |  12 +-
 superset-frontend/package-lock.json                |  36 +--
 .../scripts/Country Map GeoJSON Generator.ipynb    | 306 ++++++++-------------
 .../src/countries/france_regions.geojson           |  36 +--
 .../src/countries/italy_regions.geojson            |  40 +--
 .../BigNumber/BigNumberPeriodOverPeriod/PopKPI.tsx |  47 +++-
 .../BigNumberPeriodOverPeriod/controlPanel.ts      |  22 ++
 .../BigNumberPeriodOverPeriod/transformProps.ts    |   2 +
 .../BigNumber/BigNumberPeriodOverPeriod/types.ts   |   6 +
 .../src/Timeseries/transformProps.ts               |   1 +
 .../src/Timeseries/transformers.ts                 |   8 +-
 .../plugin-chart-echarts/src/utils/series.ts       |  38 ++-
 .../plugin-chart-echarts/test/utils/series.test.ts |  31 +++
 .../components/QueryHistory/QueryHistory.test.tsx  |  73 ++++-
 .../src/SqlLab/components/QueryHistory/index.tsx   | 106 +++++--
 .../src/SqlLab/reducers/getInitialState.test.ts    |  21 +-
 .../src/SqlLab/reducers/getInitialState.ts         |   7 +-
 .../DrillDetail/DrillDetailMenuItems.test.tsx      |  16 +-
 .../Chart/DrillDetail/DrillDetailMenuItems.tsx     | 185 ++++++-------
 .../DatabaseSelector/DatabaseSelector.test.tsx     |   4 +
 .../src/dashboard/components/dnd/DragDroppable.jsx |   5 +-
 superset-frontend/src/dashboard/types.ts           |   2 +
 .../DndFilterSelect.test.tsx                       | 221 ++++++++++++++-
 .../DndColumnSelectControl/DndFilterSelect.tsx     |  36 ++-
 .../DndMetricSelect.test.tsx                       | 121 ++++++++
 .../DndColumnSelectControl/DndMetricSelect.tsx     |  32 ++-
 superset-frontend/src/explore/types.ts             |   1 +
 .../src/features/alerts/AlertReportModal.tsx       |  14 +-
 .../databases/DatabaseModal/ExtraOptions.tsx       |  16 ++
 superset-frontend/src/features/databases/types.ts  |   1 +
 .../AddDataset/LeftPanel/LeftPanel.test.tsx        |   4 +
 .../src/hooks/apiResources/queries.test.ts         | 154 +++++++++++
 .../src/hooks/apiResources/queries.ts              | 176 ++++++++++++
 .../src/hooks/apiResources/queryApi.ts             |   3 +-
 superset-frontend/src/types/Database.ts            |   1 +
 superset/commands/base.py                          |   2 +-
 superset/commands/sql_lab/execute.py               |   4 +-
 superset/config.py                                 |   6 +-
 superset/dashboards/schemas.py                     |   1 +
 superset/databases/api.py                          |   1 +
 superset/databases/schemas.py                      |   5 +-
 superset/db_engine_specs/crate.py                  |   2 +-
 .../Vaccine_Candidates_per_Approach__Stage.yaml    |   0
 .../Vaccine_Candidates_per_Country.yaml            |   0
 .../Vaccine_Candidates_per_Country_261.yaml        |   0
 .../Vaccine_Candidates_per_Country__Stage.yaml     |   0
 .../Vaccine_Candidates_per_Country__Stage_749.yaml |   0
 .../Vaccine_Candidates_per_Phase.yaml              |   0
 .../Vaccine_Candidates_per_Phase_587.yaml          |   0
 .../Age_distribution_of_respondents.yaml           |   0
 .../Are_you_an_ethnic_minority_in_your_city.yaml   |   0
 .../Breakdown_of_Developer_Type.yaml               |   0
 .../{ => FCC New Coder Survey}/Commute_Time.yaml   |   0
 .../Country_of_Citizenship.yaml                    |   0
 ...elopers_Is_this_your_first_development_job.yaml |   0
 .../Degrees_vs_Income.yaml                         |   0
 .../Ethnic_Minority__Gender.yaml                   |   0
 .../First_Time_Developer.yaml                      |   0
 .../First_Time_Developer__Commute_Time.yaml        |   0
 .../charts/{ => FCC New Coder Survey}/Gender.yaml  |   0
 .../Highest_degree_held.yaml                       |   0
 .../How_do_you_prefer_to_work.yaml                 |   0
 .../How_much_do_you_expect_to_earn_0_-_100k.yaml   |   0
 .../Last_Year_Income_Distribution.yaml             |   0
 .../Location_of_Current_Developers.yaml            |   0
 .../Number_of_Aspiring_Developers.yaml             |   0
 .../Preferred_Employment_Style.yaml                |   0
 .../Relocation_ability.yaml                        |   0
 .../Top_15_Languages_Spoken_at_Home.yaml           |   0
 .../Work_Location_Preference.yaml                  |   0
 .../Cross_Channel_Relationship.yaml                |   0
 .../Cross_Channel_Relationship_heatmap_2786.yaml   |   0
 .../{ => Slack Dashboard}/Members_per_Channel.yaml |   0
 .../Messages_per_Channel.yaml                      |   0
 .../New_Members_per_Month.yaml                     |   0
 .../{ => Slack Dashboard}/Number_of_Members.yaml   |   0
 .../{ => Slack Dashboard}/Top_Timezones.yaml       |   0
 .../{ => Slack Dashboard}/Weekly_Messages.yaml     |   0
 .../{ => Slack Dashboard}/Weekly_Threads.yaml      |   0
 .../{ => Unicode Test}/Unicode_Cloud.test.yaml     |   0
 .../Number_of_Deals_for_each_Combination.yaml      |   0
 .../Overall_Sales_By_Product_Line.yaml             |   0
 .../Proportion_of_Revenue_by_Product_Line.yaml     |   0
 .../{ => Vehicle Sales}/Quarterly_Sales.yaml       |   0
 .../Quarterly_Sales_By_Product_Line.yaml           |   0
 .../{ => Vehicle Sales}/Revenue_by_Deal_Size.yaml  |   0
 .../Seasonality_of_Revenue_per_Product_Line.yaml   |   0
 .../{ => Vehicle Sales}/Total_Items_Sold.yaml      |   0
 .../Total_Items_Sold_By_Product_Line.yaml          |   0
 .../charts/{ => Vehicle Sales}/Total_Revenue.yaml  |   0
 .../charts/{ => Video Game Sales}/Games.yaml       |   0
 .../{ => Video Game Sales}/Games_per_Genre.yaml    |   0
 .../Games_per_Genre_over_time.yaml                 |   0
 .../Most_Dominant_Platforms.yaml                   |   0
 ...mes_That_Hit_100k_in_Sales_By_Release_Year.yaml |   0
 .../Popular_Genres_Across_Platforms.yaml           |   0
 .../Publishers_With_Most_Titles.yaml               |   0
 .../Rise__Fall_of_Video_Game_Consoles.yaml         |   0
 ...op_10_Games_Proportion_of_Sales_in_Markets.yaml |   0
 .../Total_Sales_per_Market_Grouped_by_Genre.yaml   |   0
 superset/jinja_context.py                          |  10 +-
 superset/models/core.py                            |   8 +-
 superset/models/dashboard.py                       |   5 +-
 superset/models/sql_lab.py                         |  40 ++-
 superset/queries/api.py                            |  19 +-
 superset/security/manager.py                       |  33 ++-
 superset/sql_parse.py                              |  81 +++++-
 superset/sqllab/query_render.py                    |   3 +-
 superset/sqllab/utils.py                           |  16 +-
 superset/utils/pandas_postprocessing/rolling.py    |   2 +-
 superset/views/core.py                             |   2 +
 superset/views/database/mixins.py                  |   4 +-
 tests/integration_tests/charts/data/api_tests.py   |  15 +
 tests/integration_tests/core_tests.py              |  38 +++
 tests/integration_tests/databases/api_tests.py     |   1 +
 tests/integration_tests/sql_lab/api_tests.py       |  22 +-
 tests/integration_tests/sqllab_tests.py            |  57 ++++
 .../unit_tests/commands/dataset}/__init__.py       |   0
 tests/unit_tests/db_engine_specs/test_crate.py     |   2 +-
 tests/unit_tests/jinja_context_test.py             |   8 +
 .../pandas_postprocessing/test_rolling.py          |   4 +-
 tests/unit_tests/security/manager_test.py          | 155 ++++++++++-
 tests/unit_tests/sql_parse_tests.py                |  74 ++++-
 tox.ini                                            |   8 +-
 168 files changed, 2287 insertions(+), 1078 deletions(-)
 create mode 100644 .github/actions/setup-backend/action.yml
 create mode 100644 .github/supersetbot/src/cli.test.js
 create mode 100644 .github/workflows/issue_creation.yml
 delete mode 100644 requirements/docker.in
 delete mode 100644 requirements/docker.txt
 delete mode 100644 requirements/integration.in
 delete mode 100644 requirements/integration.txt
 delete mode 100644 requirements/local.in
 delete mode 100644 requirements/local.txt
 delete mode 100644 requirements/testing.in
 delete mode 100644 requirements/testing.txt
 create mode 100644 superset-frontend/src/hooks/apiResources/queries.test.ts
 create mode 100644 superset-frontend/src/hooks/apiResources/queries.ts
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Approach__Stage.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Country.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Country_261.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Country__Stage.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Country__Stage_749.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Phase.yaml (100%)
 rename superset/examples/configs/charts/{ => COVID Vaccines}/Vaccine_Candidates_per_Phase_587.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Age_distribution_of_respondents.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Are_you_an_ethnic_minority_in_your_city.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Breakdown_of_Developer_Type.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Commute_Time.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Country_of_Citizenship.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Current_Developers_Is_this_your_first_development_job.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Degrees_vs_Income.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Ethnic_Minority__Gender.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/First_Time_Developer.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/First_Time_Developer__Commute_Time.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Gender.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Highest_degree_held.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/How_do_you_prefer_to_work.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/How_much_do_you_expect_to_earn_0_-_100k.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Last_Year_Income_Distribution.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Location_of_Current_Developers.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Number_of_Aspiring_Developers.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Preferred_Employment_Style.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Relocation_ability.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Top_15_Languages_Spoken_at_Home.yaml (100%)
 rename superset/examples/configs/charts/{ => FCC New Coder Survey}/Work_Location_Preference.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Cross_Channel_Relationship.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Cross_Channel_Relationship_heatmap_2786.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Members_per_Channel.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Messages_per_Channel.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/New_Members_per_Month.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Number_of_Members.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Top_Timezones.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Weekly_Messages.yaml (100%)
 rename superset/examples/configs/charts/{ => Slack Dashboard}/Weekly_Threads.yaml (100%)
 rename superset/examples/configs/charts/{ => Unicode Test}/Unicode_Cloud.test.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Number_of_Deals_for_each_Combination.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Overall_Sales_By_Product_Line.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Proportion_of_Revenue_by_Product_Line.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Quarterly_Sales.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Quarterly_Sales_By_Product_Line.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Revenue_by_Deal_Size.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Seasonality_of_Revenue_per_Product_Line.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Total_Items_Sold.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Total_Items_Sold_By_Product_Line.yaml (100%)
 rename superset/examples/configs/charts/{ => Vehicle Sales}/Total_Revenue.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Games.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Games_per_Genre.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Games_per_Genre_over_time.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Most_Dominant_Platforms.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Number_of_Games_That_Hit_100k_in_Sales_By_Release_Year.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Popular_Genres_Across_Platforms.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Publishers_With_Most_Titles.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Rise__Fall_of_Video_Game_Consoles.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Top_10_Games_Proportion_of_Sales_in_Markets.yaml (100%)
 rename superset/examples/configs/charts/{ => Video Game Sales}/Total_Sales_per_Market_Grouped_by_Genre.yaml (100%)
 copy {superset/advanced_data_type => tests/unit_tests/commands/dataset}/__init__.py (100%)