This is an automated email from the ASF dual-hosted git repository.
ccwilliams pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from 5261d8a Fixing error when clearing big number (#6465)
add c11e9c8 [SIP-5] Build metrics in query_object in the client - Unify
the metric interface (absorb the current plain string metric for built-in
metric keys into the format used by adhoc metric) - Port the logic in
adhocMetric on the client and process_metrics in the backend to the new typed
Metrics class - Omit hasCustomLabel and formFromData properties from the new
metric interface as their value can be inferred from label and optionName -
Expose from the Metrics class both metri [...]
add a4597af addressing PR comments
add e06f873 Adding a comment for metrictype values
new 5f7817a [SIP-5] Build metrics in query_object in the client (#6423)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
superset/assets/package.json | 4 +-
.../spec/javascripts/superset-ui/Metric.test.ts | 95 ++++++++++++++++++++
.../superset-ui/buildQueryObject.test.ts | 19 +++-
superset/assets/src/query/Column.ts | 24 +++++
superset/assets/src/query/FormData.ts | 21 +++--
superset/assets/src/query/Metric.ts | 100 +++++++++++++++++++++
superset/assets/src/query/buildQueryObject.ts | 3 +
superset/common/query_object.py | 16 ++--
8 files changed, 262 insertions(+), 20 deletions(-)
create mode 100644 superset/assets/spec/javascripts/superset-ui/Metric.test.ts
create mode 100644 superset/assets/src/query/Column.ts
create mode 100644 superset/assets/src/query/Metric.ts