refactor: migrate table chart to new API - #10270
Conversation
afc2b4a to
0273508
Compare
|
@ktmud this needs a rebase, will be happy to give it a spin once the conflicts are resolved |
villebro
left a comment
There was a problem hiding this comment.
Minor comment on adding the new results to the response schema. Looks great, let's get this in as soon as superset-ui/core is bumped to 0.15.
0273508 to
602dce7
Compare
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
602dce7 to
a1e87a8
Compare
a1e87a8 to
295c88d
Compare
Codecov Report
@@ Coverage Diff @@
## master #10270 +/- ##
==========================================
+ Coverage 64.99% 66.94% +1.95%
==========================================
Files 1021 1021
Lines 50095 50125 +30
Branches 5141 5141
==========================================
+ Hits 32559 33556 +997
+ Misses 17360 16435 -925
+ Partials 176 134 -42
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@ktmud if you're busy I can help finish this |
|
@villebro I'll finish it this week. |
7be3fd5 to
4fcf60e
Compare
1129349 to
a0fdb6e
Compare
f46ee03 to
5ee9045
Compare
There was a problem hiding this comment.
Use normalized_messsages from mashmallow's ValidationError so that the error message shows which query field failed the validation.
8e2dc63 to
210ae65
Compare
84d92b3 to
8263bf7
Compare
46cb0cb to
9b05065
Compare
588ceee to
026c639
Compare
|
HOLD: We may need another update on (Thanks for the Cypress tests!) |
|
@villebro @zhaoyongjie An update on this. I didn't have time to fix this today but will try to do it tomorrow. This PR should block bumping |
|
@kristw @villebro could you help taking a look at apache-superset/superset-ui#919 , which should fix the failing E2E test in this PR. |
Approved - I'll merge it and deploy in an hour or so if you're offline (hmm, it seems to be stuck, I'll kick CI if it doesn't wake up soon) |
ef12444 to
5cfab09
Compare
|
@villebro I've done the bumping. Feel free to merge when the CI is green. |
|
That would be right now 🙂 |
* refactor: migrate table chart to new API * chore: bump superset-ui to 0.17.0 * Fix Cypress tests * Apply soft-conversion to numeric metrics Fix time column formatting test * Add translation to chart does not exist error * Bump to 0.17.1
SUMMARY
Move the table viz to API v1. Depends on apache-superset/superset-ui#889
Also did a bunch of refactoring on
QueryContextandQueryObject:DbColumnTypestoGenericDataTypecolnamesandcoltypesto query response. Didn't call themcolumn_namesto make it easier to search in the code.DTTM_ALIASin groupby/columnspost_processing.contributionto support applying contribution only on selected columns (needed for percent metrics).Bumped
superset-uipackages and plugins to0.17.0:apache-superset/superset-ui@v0.16.9...v0.17.0
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TEST PLAN
CI and manual verification.
ADDITIONAL INFORMATION