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

chore: metric refactor iteration 1 #13596

Merged
merged 1 commit into from
Mar 12, 2021

Conversation

zhaoyongjie
Copy link
Member

@zhaoyongjie zhaoyongjie commented Mar 12, 2021

SUMMARY

I will do some metric refactor, in order to PR review, need to move some files to sub-directory.

TEST PLAN

Only the file reference location has changed, no function changed.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@zhaoyongjie zhaoyongjie requested a review from villebro March 12, 2021 09:57
@codecov
Copy link

codecov bot commented Mar 12, 2021

Codecov Report

Merging #13596 (93d4c25) into master (609c359) will decrease coverage by 4.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #13596      +/-   ##
==========================================
- Coverage   77.29%   73.09%   -4.20%     
==========================================
  Files         910      606     -304     
  Lines       46359    21552   -24807     
  Branches     5633     5692      +59     
==========================================
- Hits        35831    15754   -20077     
+ Misses      10392     5662    -4730     
  Partials      136      136              
Flag Coverage Δ
cypress 56.73% <ø> (ø)
hive ?
javascript 63.06% <ø> (ø)
mysql ?
postgres ?
presto ?
python ?
sqlite ?

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

Impacted Files Coverage Δ
...ents/controls/FilterControl/AdhocFilterControl.jsx 60.00% <ø> (ø)
.../controls/FilterControl/AdhocFilterEditPopover.jsx 58.00% <ø> (ø)
...Control/AdhocFilterEditPopoverSimpleTabContent.jsx 74.83% <ø> (ø)
...terControl/AdhocFilterEditPopoverSqlTabContent.jsx 63.33% <ø> (ø)
...nents/controls/FilterControl/AdhocFilterOption.jsx 100.00% <ø> (ø)
.../controls/MetricControl/AdhocMetricEditPopover.jsx 79.54% <ø> (ø)
...nents/controls/MetricControl/AdhocMetricOption.jsx 100.00% <ø> (ø)
...ponents/controls/MetricControl/AggregateOption.jsx 100.00% <ø> (ø)
.../controls/MetricControl/FilterDefinitionOption.jsx 100.00% <ø> (ø)
.../controls/MetricControl/MetricDefinitionOption.jsx 81.81% <ø> (ø)
... and 306 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 609c359...2d31ecd. Read the comment docs.

Comment on lines +19 to +24
import PropTypes from 'prop-types';

export default PropTypes.shape({
column_name: PropTypes.string.isRequired,
type: PropTypes.string,
});
Copy link
Member

Choose a reason for hiding this comment

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

Note to other reviewers: the reason the columnType type is duplicated is to make it possible for these to start diverging in the future.

@zhaoyongjie zhaoyongjie merged commit 817b740 into apache:master Mar 12, 2021
allanco91 pushed a commit to allanco91/superset that referenced this pull request May 21, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 labels Mar 12, 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 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants