daniellavoie opened a new issue #6656:
URL: https://github.com/apache/incubator-pinot/issues/6656


   Batch based ingestion with `SegmentGenerationAndPushTask` makes it hard to 
troubleshoot and identify which field's schema is invalid.
   
   Wrapping the exception with a message providing context about the involved 
field would greatly help SRE to report errors back to dev teams.
   
   I'll work on a PR for this one.
   
   ```
   java.lang.NumberFormatException: For input string: "[0, 0]"
           at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 
~[?:1.8.0_282]
           at java.lang.Long.parseLong(Long.java:589) ~[?:1.8.0_282]
           at java.lang.Long.parseLong(Long.java:631) ~[?:1.8.0_282]
           at 
org.apache.pinot.common.utils.PinotDataType$9.toLong(PinotDataType.java:325) 
~[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.common.utils.PinotDataType$6.convert(PinotDataType.java:239) 
~[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.common.utils.PinotDataType$6.convert(PinotDataType.java:206) 
~[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.core.data.recordtransformer.DataTypeTransformer.transform(DataTypeTransformer.java:112)
 
~[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.core.data.recordtransformer.CompositeTransformer.transform(CompositeTransformer.java:82)
 
~[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.core.segment.creator.RecordReaderSegmentCreationDataSource.gatherStats(RecordReaderSegmentCreationDataSource.java:70)
 
[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.core.segment.creator.RecordReaderSegmentCreationDataSource.gatherStats(RecordReaderSegmentCreationDataSource.java:38)
 
[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
           at 
org.apache.pinot.core.segment.creator.impl.SegmentIndexCreationDriverImpl.init(SegmentIndexCreationDriverImpl.java:154)
 
[pinot-all-0.7.0-SNAPSHOT-jar-with-dependencies.jar:0.7.0-SNAPSHOT-a4a05e3793d1e0264fb4b7382c6d8afbf27887da]
   ```


----------------------------------------------------------------
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.

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