We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce890ec commit e99c1c5Copy full SHA for e99c1c5
velox/exec/Spill.cpp
@@ -133,7 +133,12 @@ void SpillState::setPartitionSpilled(uint32_t partition) {
133
void SpillState::validateSpillBytesSize(uint64_t bytes) {
134
static constexpr uint64_t kMaxSpillBytesPerWrite =
135
std::numeric_limits<int32_t>::max();
136
- VELOX_CHECK_LT(bytes, kMaxSpillBytesPerWrite, "Spill bytes will overflow.");
+ if (bytes >= kMaxSpillBytesPerWrite) {
137
+ VELOX_SPILL_LIMIT_EXCEEDED(fmt::format(
138
+ "Spill bytes will overflow. Bytes {}, kMaxSpillBytesPerWrite: {}",
139
+ bytes,
140
+ kMaxSpillBytesPerWrite));
141
+ }
142
}
143
144
void SpillState::updateSpilledInputBytes(uint64_t bytes) {
0 commit comments