diff --git a/packages/web-console/src/scenes/Editor/Metrics/queries.ts b/packages/web-console/src/scenes/Editor/Metrics/queries.ts index 49640b041..c29350ffa 100644 --- a/packages/web-console/src/scenes/Editor/Metrics/queries.ts +++ b/packages/web-console/src/scenes/Editor/Metrics/queries.ts @@ -21,7 +21,7 @@ select count(rowCount) numOfWalApplies, sum(rowCount) numOfRowsApplied, sum(physicalRowCount) numOfRowsWritten, - avg(physicalRowCount/rowCount) avgWalAmplification + coalesce(avg(physicalRowCount/rowCount), 1) avgWalAmplification from ${TelemetryTable.WAL} where tableId = ${id} and event = 105