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

fix: revert data endpoint name #16162

Merged
merged 1 commit into from
Aug 10, 2021

Conversation

betodealmeida
Copy link
Member

SUMMARY

Rename post_data back to data, since it's giving permission errors.

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 10, 2021

Codecov Report

Merging #16162 (71c0383) into master (606a7bf) will decrease coverage by 0.13%.
The diff coverage is 25.00%.

❗ Current head 71c0383 differs from pull request most recent head 5b4b5d0. Consider uploading reports for the commit 5b4b5d0 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16162      +/-   ##
==========================================
- Coverage   76.82%   76.68%   -0.14%     
==========================================
  Files         996      996              
  Lines       52940    52942       +2     
  Branches     6732     6734       +2     
==========================================
- Hits        40670    40601      -69     
- Misses      12045    12116      +71     
  Partials      225      225              
Flag Coverage Δ
hive ?
javascript 71.19% <0.00%> (-0.01%) ⬇️
mysql 81.52% <100.00%> (-0.05%) ⬇️
postgres 81.58% <100.00%> (ø)
presto 81.42% <100.00%> (ø)
python 81.85% <100.00%> (-0.26%) ⬇️
sqlite 81.19% <100.00%> (ø)

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

Impacted Files Coverage Δ
...ntend/src/explore/components/ExploreChartPanel.jsx 15.00% <0.00%> (ø)
...c/views/CRUD/data/database/DatabaseModal/index.tsx 44.15% <0.00%> (-0.24%) ⬇️
superset/constants.py 100.00% <ø> (ø)
superset/charts/api.py 85.82% <100.00%> (ø)
superset/db_engines/hive.py 0.00% <0.00%> (-82.15%) ⬇️
superset/db_engine_specs/hive.py 69.80% <0.00%> (-16.87%) ⬇️
superset/connectors/sqla/models.py 89.51% <0.00%> (-0.24%) ⬇️
superset/utils/core.py 88.09% <0.00%> (-0.13%) ⬇️

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 606a7bf...5b4b5d0. Read the comment docs.

@@ -132,7 +132,7 @@ const ExploreChartPanel = props => {
const { slice } = props;
const updateQueryContext = useCallback(
async function fetchChartData() {
if (slice && slice.query_context === null) {
if (props.can_overwrite && slice && slice.query_context === null) {
Copy link
Member

@hughhhh hughhhh Aug 10, 2021

Choose a reason for hiding this comment

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

deconstruct can_overwrite above then use just can_overwrite in if

const { can_overwrite, slice } = props;

@betodealmeida betodealmeida merged commit 7b3fce7 into apache:master Aug 10, 2021
stevenuray pushed a commit to preset-io/superset that referenced this pull request Aug 11, 2021
@villebro villebro added the v1.3 label Aug 12, 2021
villebro pushed a commit that referenced this pull request Aug 16, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🍒 1.3.0 🍒 1.3.1 🍒 1.3.2 🏷️ 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
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 preset:2021.31 size/M v1.3 🍒 1.3.0 🍒 1.3.1 🍒 1.3.2 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants