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: prevent page crash when chart can't render #16464

Merged
merged 1 commit into from
Aug 26, 2021

Conversation

zhaoyongjie
Copy link
Member

SUMMARY

closes: #16457

This PR #16299 introduced a way to setting column name, but the mechanism of query error is not considered.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

After

image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@codecov
Copy link

codecov bot commented Aug 26, 2021

Codecov Report

Merging #16464 (59d9ed5) into master (1badcae) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 59d9ed5 differs from pull request most recent head d318174. Consider uploading reports for the commit d318174 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16464      +/-   ##
==========================================
- Coverage   76.55%   76.55%   -0.01%     
==========================================
  Files        1002     1002              
  Lines       53661    53661              
  Branches     6854     6854              
==========================================
- Hits        41080    41078       -2     
- Misses      12342    12344       +2     
  Partials      239      239              
Flag Coverage Δ
javascript 70.83% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
...nd/src/explore/components/DataTablesPane/index.tsx 75.24% <100.00%> (-1.99%) ⬇️

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 1badcae...d318174. Read the comment docs.

@zhaoyongjie zhaoyongjie merged commit 577ede4 into apache:master Aug 26, 2021
@junlincc junlincc added rush! Requires immediate attention #bug:blocking! Blocking issues with high priority labels Aug 26, 2021
amitmiran137 pushed a commit to nielsen-oss/superset that referenced this pull request Aug 26, 2021
* upstream/master: (25 commits)
  chore(ci): bump pylint to 2.10.2 (apache#16463)
  fix: prevent page crash when chart can't render (apache#16464)
  chore: fixed slack invite link (apache#16466)
  fix(native-filters): handle null values in value filter (apache#16460)
  feat: add function list to auto-complete to Clickhouse datasource (apache#16234)
  refactor(explore): improve typing for Dnd controls (apache#16362)
  fix(explore): update overwrite button on perm change (apache#16437)
  feat: Draggable and Resizable Modal (apache#16394)
  refactor: sql_json view endpoint (apache#16441)
  fix(dashboard): undo and redo buttons weird alignment  (apache#16417)
  fix: setupPlugin in chart list page (apache#16413)
  fix: Disable Slack notification method if no api token (apache#16367)
  feat: add Shillelagh DB engine spec (apache#16416)
  fix: copy to Clipboard order (apache#16299)
  docs: make FEATURE_FLAGS.md reference a link (apache#16415)
  chore(viz): bump superset-ui to 0.17.87 (apache#16420)
  feat: add activate command (apache#16404)
  Revert "fix(explore): let admin overwrite slice (apache#16290)" (apache#16408)
  fix(explore): retain chart ownership on query context update (apache#16419)
  chore: Removes the TODOs and uses the default page size (apache#16422)
  ...
stevenuray pushed a commit to preset-io/superset that referenced this pull request Aug 26, 2021
@rosemarie-chiu
Copy link
Contributor

🏷 2021.34

@villebro villebro added the v1.3 label Sep 6, 2021
villebro pushed a commit that referenced this pull request Sep 6, 2021
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
@mistercrunch mistercrunch added 🍒 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 #bug:blocking! Blocking issues with high priority preset:2021.34 rush! Requires immediate attention size/XS v1.3 🍒 1.3.1 🍒 1.3.2 🚢 1.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[explore]using unsupported datetime column format to create chart crashes the page
6 participants