Jayesh-Asrani opened a new issue, #13626:
URL: https://github.com/apache/pinot/issues/13626
1. Steps to re-produce : Create a Realtime table with a sorted column id
and few other Multi value columns
2. Ingest wrong data into pinot for the MV columns where the columns are
represented as strings instead of arrays
e.g. `"A: "[1,2,3]"`
3. This record fails to get ingested into pinot (which is valid) due to data
type mismatch
4. However the same segment then is not able to move into a completed state.
Logs below
`2024/07/16 02:56:02.708 ERROR
[MutableSegmentImpl_events_v11__127__157__20240715T1915Z_raw_data_analysis_poc]
[events_v11__127__157__20240715T1915Z] failed to index value with inverted_index
java.lang.IndexOutOfBoundsException: Index 1130 out of bounds for length 10
at
java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
~[?:?]
at
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
~[?:?]
at
java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
~[?:?]
at java.base/java.util.Objects.checkIndex(Objects.java:385) ~[?:?]
at java.base/java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at
org.apache.pinot.segment.local.realtime.impl.invertedindex.RealtimeInvertedIndex.add(RealtimeInvertedIndex.java:60)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.segment.spi.index.mutable.MutableInvertedIndex.add(MutableInvertedIndex.java:30)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.addNewRow(MutableSegmentImpl.java:707)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.segment.local.indexsegment.mutable.MutableSegmentImpl.index(MutableSegmentImpl.java:533)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.core.data.manager.realtime.RealtimeSegmentDataManager.processStreamEvents(RealtimeSegmentDataManager.java:631)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.core.data.manager.realtime.RealtimeSegmentDataManager.consumeLoop(RealtimeSegmentDataManager.java:473)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at
org.apache.pinot.core.data.manager.realtime.RealtimeSegmentDataManager$PartitionConsumer.run(RealtimeSegmentDataManager.java:707)
~[startree-pinot-all-1.2.0-ST.40-jar-with-dependencies.jar:1.2.0-ST.40-7689a6d2a3afecbda1413a231e895717cd937513]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
2024/07/16 02:56:02.710 ERROR
[RealtimeSegmentDataManager_events_v11__73__157__20240715T1859Z]
[events_v11__73__157__20240715T1859Z] Caught exception while indexing the
record at offset: 479976251 , row: {`
``
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]