Do not process same symbol twice when adding stats
@@ -110,6 +110,7 @@ public class PlanNodeStatsEstimateMath
double newRowCount = left.getOutputRowCount() + right.getOutputRowCount();
Stream.concat(left.getSymbolsWithKnownStatistics().stream(), right.getSymbolsWithKnownStatistics().stream())
+ .distinct()
.forEach(symbol -> {
statsBuilder.addSymbolStatistics(symbol,
addColumnStats(
