Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow users to connect via legacy SQLA form #16201

Merged
merged 4 commits into from
Aug 12, 2021
Merged

Conversation

hughhhh
Copy link
Member

@hughhhh hughhhh commented Aug 11, 2021

SUMMARY

Creating an other option to allow users to get access to the legacy SQLA form to connect to DBs

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Aug 11, 2021

Codecov Report

Merging #16201 (a8b7eca) into master (ccfc95f) will decrease coverage by 0.05%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16201      +/-   ##
==========================================
- Coverage   76.73%   76.67%   -0.06%     
==========================================
  Files         996      997       +1     
  Lines       52999    53311     +312     
  Branches     6738     6867     +129     
==========================================
+ Hits        40668    40876     +208     
- Misses      12102    12200      +98     
- Partials      229      235       +6     
Flag Coverage Δ
hive 81.36% <ø> (+0.04%) ⬆️
javascript 71.04% <88.88%> (+0.07%) ⬆️
mysql 81.57% <ø> (-0.05%) ⬇️
postgres 81.63% <ø> (ø)
presto ?
python 82.00% <ø> (-0.15%) ⬇️
sqlite 81.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/views/CRUD/data/database/DatabaseModal/index.tsx 43.40% <88.88%> (+0.03%) ⬆️
superset/db_engine_specs/presto.py 84.51% <0.00%> (-5.44%) ⬇️
...d/src/explore/components/DatasourcePanel/index.tsx 79.28% <0.00%> (-1.44%) ⬇️
superset/connectors/sqla/models.py 88.27% <0.00%> (-1.43%) ⬇️
superset/models/core.py 89.61% <0.00%> (-0.26%) ⬇️
...set-frontend/src/views/CRUD/welcome/ChartTable.tsx 75.00% <0.00%> (ø)
...rontend/src/explore/components/optionRenderers.tsx 100.00% <0.00%> (ø)
...atasourcePanel/DatasourcePanelDragOption/index.tsx 94.11% <0.00%> (ø)
.../controls/DndColumnSelectControl/OptionWrapper.tsx 85.89% <0.00%> (+0.18%) ⬆️
...plore/components/controls/OptionControls/index.tsx 90.79% <0.00%> (+1.90%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccfc95f...a8b7eca. Read the comment docs.

Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but can we remove not-callable?

.pylintrc Outdated Show resolved Hide resolved
Co-authored-by: Beto Dealmeida <[email protected]>
@hughhhh hughhhh merged commit 1715143 into master Aug 12, 2021
amitmiran137 pushed a commit that referenced this pull request Aug 16, 2021
…gies

* upstream/master: (64 commits)
  check roles before fetching reports (#16260)
  chore: upgrade mypy and add type guards (#16227)
  fix: pivot columns with ints for name (#16259)
  chore(pylint): Bump Pylint to 2.9.6 (#16146)
  fix examples tab for dashboard (#16253)
  chore: bump superset-ui packages to 0.17.84 (#16251)
  chore: Shows the dataset description in the gallery dropdown (#16200)
  fix(Dashboard): Omnibar dropdown visibility and keyboard commands (#16168)
  chore: bump py version for integration test (#16213)
  fix: skip perms on query context update (#16250)
  refactor: external metadata fetch API (#16193)
  feat(dao): admin can remove self from object owners (#15149)
  fix(dashboard): cross filter chart highlight when filters badge icon clicked (#16233)
  fix: validate_parameters and query (#16241)
  fix: Remove Advanced Analytics tag for 2 charts (#16240)
  Revert "feat: Changing Dataset names (#16199)" (#16235)
  feat: Allow users to connect via legacy SQLA form (#16201)
  fix: remove encryption from db params (#16214)
  fix(Explore): Show the tooltip only when label does not fit the container in METRICS/FILTERS/GROUP BY/SORT BY of the DATA panel (#16060)
  Show/hide tooltips (#16192)
  ...

# Conflicts:
#	superset/tasks/caching/cache_strategy.py
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
* hugh/dbui-other

* remove extra condition

* add not callable

* Update .pylintrc

Co-authored-by: Beto Dealmeida <[email protected]>

Co-authored-by: Beto Dealmeida <[email protected]>
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
* hugh/dbui-other

* remove extra condition

* add not callable

* Update .pylintrc

Co-authored-by: Beto Dealmeida <[email protected]>

Co-authored-by: Beto Dealmeida <[email protected]>
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.4.0 labels Mar 13, 2024
@mistercrunch mistercrunch deleted the hugh/dbui-other branch March 26, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants