Commit a37fbd2
committed
Remove unnecessary aggregator creations
Avoids eager, unnecessary creation of aggregator instances just to
determine their output type inside of the HashAggregationOperator
constructor.1 parent 6f313c9 commit a37fbd2
File tree
3 files changed
+8
-5
lines changed- core/trino-main/src/main/java/io/trino/operator
- aggregation
- builder
3 files changed
+8
-5
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
261 | 259 | | |
262 | 260 | | |
263 | 261 | | |
| |||
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
308 | | - | |
309 | 306 | | |
310 | 307 | | |
311 | 308 | | |
| |||
540 | 537 | | |
541 | 538 | | |
542 | 539 | | |
543 | | - | |
| 540 | + | |
544 | 541 | | |
545 | 542 | | |
546 | 543 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
0 commit comments