SBIN2010 commented on code in PR #45172:
URL: https://github.com/apache/superset/pull/45172#discussion_r4238557159
##########
superset-frontend/plugins/plugin-chart-echarts/src/utils/series.ts:
##########
@@ -724,9 +725,9 @@ export function extractSeries(
// calculations (getBaselineSeriesForStream) run, so BigInt and Number
// values can be combined without throwing (see #36401).
const normalized: DataRecord = {};
- Object.keys(datum).forEach(key => {
+ Object.keys(datum).forEach((key) => {
const value = datum[key];
- normalized[key] = typeof value === 'bigint' ? Number(value) : value;
+ normalized[key] = typeof value === "bigint" ? Number(value) : value;
});
Review Comment:
fix in 3f76c45
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]