taborda opened a new issue #10507: URL: https://github.com/apache/druid/issues/10507
### Affected Version 0.20.0 ### Description When there is a datasource with no loaded segments, the Datasources screen on the Web Console fails to load. This can be reproduced if all the historical nodes are shutdown. The error is being caused by a division by zero: ``` Error: Unknown exception / by zero java.lang.ArithmeticException ```   The issue seems to be related with the recently added `avg_row_size` column: https://github.com/apache/druid/blob/567e38170500d3649cbfaa28cf7aa6f5275d02e7/web-console/src/views/datasource-view/datasource-view.tsx#L241-L244 Commenting the code for this column allows the query to run:  ---------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
