Skip to content

Commit

Permalink
cost estimator allow scalar in table expand
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Jan 17, 2025
1 parent d9ebcf0 commit a97ceff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ public double parseSPInst(SPInstruction inst) throws CostEstimationException {
SparkCostUtils.getMatMulChainInstTime(mmchaininst, input1, input2, input3, output, driverMetrics, executorMetrics);
} else if (inst instanceof CtableSPInstruction) {
CtableSPInstruction tableInst = (CtableSPInstruction) inst;
VarStats input1 = getStats(tableInst.input1.getName());
VarStats input1 = getStatsWithDefaultScalar(tableInst.input1.getName());
VarStats input2 = getStatsWithDefaultScalar(tableInst.input2.getName());
VarStats input3 = getStatsWithDefaultScalar(tableInst.input3.getName());
double loadTime = loadRDDStatsAndEstimateTime(input1) +
Expand Down

0 comments on commit a97ceff

Please sign in to comment.