gortiz commented on code in PR #13818:
URL: https://github.com/apache/pinot/pull/13818#discussion_r1716727378


##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/io/writer/impl/BaseChunkForwardIndexWriter.java:
##########
@@ -186,7 +186,8 @@ protected void writeChunk() {
     }
 
     if (_headerEntryChunkOffsetSize == Integer.BYTES) {
-      Preconditions.checkState(_dataOffset <= Integer.MAX_VALUE, "Integer 
overflow detected");
+      Preconditions.checkState(_dataOffset <= Integer.MAX_VALUE, "Integer 
overflow detected. "
+          + "Try to use raw version 3 or 4, reduce targetDocsPerChunk or 
targetMaxChunkSize");

Review Comment:
   The older message (Integer overflow detected) is improved here by adding 
some tips on how to fix it. These attributes are documented in 
https://docs.pinot.apache.org/basics/indexing/forward-index#raw-value-forward-index



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to