You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/10/25 21:44:57 UTC
[GitHub] [pinot] dongxiaoman commented on issue #7612: Pinot query ArrayIndexOutOfBounds for some multi-value column queries
dongxiaoman commented on issue #7612:
URL: https://github.com/apache/pinot/issues/7612#issuecomment-951356252
```
2021/10/25 21:32:07.808 ERROR [BaseCombineOperator] [pqw-7] Caught exception while executing operator of index: 4 (query: QueryContext{_tableName='point_entry_OFFLINE', _selectExpressions=[account_key], _aliasList=[null], _filter=(account_key = 'xxxx' AND account_fields_values NOT IN ('intercompany_clearing') AND created_at <= '1635181199'), _groupByExpressions=null, _havingFilter=null, _orderByExpressions=null, _limit=1, _offset=0, _queryOptions={responseFormat=sql, groupByMode=sql, timeoutMs=9926}, _debugOptions=null, _brokerRequest=BrokerRequest(querySource:QuerySource(tableName:point_entry_OFFLINE), pinotQuery:PinotQuery(dataSource:DataSource(tableName:point_entry_OFFLINE), selectList:[Expression(type:IDENTIFIER, identifier:Identifier(name:account_key))], filterExpression:Expression(type:FUNCTION, functionCall:Function(operator:AND, operands:[Expression(type:FUNCTION, functionCall:Function(operator:EQUALS, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:accoun
t_key)), Expression(type:LITERAL, literal:<Literal stringValue:1fedf01cdb9aba9395172b5832445d1e>)])), Expression(type:FUNCTION, functionCall:Function(operator:NOT_IN, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:account_fields_values)), Expression(type:LITERAL, literal:<Literal stringValue:intercompany_clearing>)])), Expression(type:FUNCTION, functionCall:Function(operator:LESS_THAN_OR_EQUAL, operands:[Expression(type:IDENTIFIER, identifier:Identifier(name:created_at)), Expression(type:LITERAL, literal:<Literal stringValue:1635181199>)]))])), orderByList:[], limit:1, queryOptions:{responseFormat=sql, groupByMode=sql, timeoutMs=9926}))})
java.lang.ArrayIndexOutOfBoundsException: 8
at org.apache.pinot.segment.local.io.util.PinotDataBitSet.readInt(PinotDataBitSet.java:127) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.segment.local.io.util.FixedBitIntReaderWriter.readInt(FixedBitIntReaderWriter.java:42) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.segment.local.segment.index.readers.forward.FixedBitMVForwardIndexReader.getDictIdMV(FixedBitMVForwardIndexReader.java:126) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.segment.local.segment.index.readers.forward.FixedBitMVForwardIndexReader.getDictIdMV(FixedBitMVForwardIndexReader.java:51) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.dociditerators.MVScanDocIdIterator.applyAnd(MVScanDocIdIterator.java:80) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.docidsets.AndDocIdSet.iterator(AndDocIdSet.java:128) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.DocIdSetOperator.getNextBlock(DocIdSetOperator.java:63) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.DocIdSetOperator.getNextBlock(DocIdSetOperator.java:35) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:49) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.ProjectionOperator.getNextBlock(ProjectionOperator.java:57) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.ProjectionOperator.getNextBlock(ProjectionOperator.java:30) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:49) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.transform.PassThroughTransformOperator.getNextBlock(PassThroughTransformOperator.java:47) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.transform.PassThroughTransformOperator.getNextBlock(PassThroughTransformOperator.java:31) ~[pinot-all-0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-jar-with-dependencies.jar:0.9.0-2021-10-01-9e37c7f68-SNAPSHOT-9e37c7f680ef3c5256eb30a7b9b43e8f338b2ccd]
at org.apache.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:49)
```
--
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-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org