micimize commented on issue #8961: e.map is not a function explore view URL: https://github.com/apache/incubator-superset/issues/8961#issuecomment-573944477 The `TimeTable` expects the logged structure here: https://github.com/apache/incubator-superset/blob/44d919c757fec0705f52cede8a1c6289fbf79817/superset/assets/src/visualizations/TimeTable/transformProps.js#L22 But [`superset-ui-legacy-preset-chart-nvd3/src/transformProps.js`](https://github.com/apache-superset/superset-ui-plugins/blob/df66066ce124c7d6e16158c49e8d0520b9a785e3/packages/superset-ui-legacy-preset-chart-nvd3/src/transformProps.js#L84-L90) (and thus the line plugin, etc) expects an array: ```jsx const rawData = queryData.data || []; const data = Array.isArray(rawData) ? rawData.map(row => ({ ...row, key: formatLabel(row.key, datasource.verboseMap), })) : rawData; ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
