henry145145 commented on issue #16087: URL: https://github.com/apache/superset/issues/16087#issuecomment-989997561
I ran into this issue also in version 1.3.0 the re-format for value null to value 1970-01-01 is happening in @superset-ui/plugin-chart-table: https://github.com/apache-superset/superset-ui/blob/881e25c7ee72f9b4f28db7e76ee977b9a5e8f2e5/plugins/plugin-chart-table/src/transformProps.ts#L53-L78 and the formatters are from '@superset-ui/core', and it looks like the formatters are using d3 format. My workaround is clone/fork the table chart plugin and name it table_v2 and modify the code above so it won't format anything if the value is null. Then, use it as a custom plugin (put it under `visualization` directory). -- 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]
