From dafb4f0180b014c9c6fa35ce646bec5fae190b37 Mon Sep 17 00:00:00 2001 From: Christopher Peck <27231838+itschrispeck@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:36:34 -0800 Subject: [PATCH] Include column name for v4 raw fwd index build failure (#14613) --- .../local/io/writer/impl/VarByteChunkForwardIndexWriterV4.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/VarByteChunkForwardIndexWriterV4.java b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/VarByteChunkForwardIndexWriterV4.java index 332c52d0c59f..f685890e0fdc 100644 --- a/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/VarByteChunkForwardIndexWriterV4.java +++ b/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/VarByteChunkForwardIndexWriterV4.java @@ -136,7 +136,8 @@ public void putString(String string) { @Override public void putBytes(byte[] bytes) { - Preconditions.checkState(_chunkOffset < (1L << 32), "exceeded 4GB of compressed chunks"); + Preconditions.checkState(_chunkOffset < (1L << 32), + "exceeded 4GB of compressed chunks for: " + _dataBuffer.getName()); int sizeRequired = Integer.BYTES + bytes.length; if (_chunkBuffer.position() > _chunkBuffer.capacity() - sizeRequired) { flushChunk();