| 119 | } |
| 120 | |
| 121 | bool SpillConfig::exceedJoinSpillLevelLimit(uint8_t startBitOffset) const { |
| 122 | if (startBitOffset + joinPartitionBits > 64) { |
| 123 | return true; |
| 124 | } |
| 125 | if (maxSpillLevel == -1) { |
| 126 | return false; |
| 127 | } |
| 128 | return joinSpillLevel(startBitOffset) > maxSpillLevel; |
| 129 | } |
| 130 | |
| 131 | int32_t SpillConfig::joinSpillLevel( |
| 132 | std::map<uint8_t, uint8_t>& offsetToJoinBits) const { |