You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "jasperjiaguo (via GitHub)" <gi...@apache.org> on 2023/11/01 21:22:11 UTC

[I] Bug in in predicate eval with multiple values with $SegmentName [pinot]

jasperjiaguo opened a new issue, #11929:
URL: https://github.com/apache/pinot/issues/11929

   Query1
   ```
   ❯ "select count(*) from table where \$segmentName in ('segment1')"
   +----------+
   | count(*) |
   +----------+
   | ******    |
   +----------+
   ```
   Query2
   ```
   ❯ "select count(*) from table where \$segmentName in ('segment2')"
   +----------+
   | count(*) |
   +----------+
   | ******     |
   +----------+
   ```
   Query3
   ```
   ❯ "select count(*) from table where \$segmentName in ('segment1', 'segment2')"
   QueryExecutionError:
   org.apache.pinot.spi.exception.BadQueryRequestException: java.lang.NullPointerException
       at org.apache.pinot.core.operator.filter.predicate.PredicateEvaluatorProvider.getPredicateEvaluator(PredicateEvaluatorProvider.java:94)
       at org.apache.pinot.core.operator.filter.predicate.PredicateEvaluatorProvider.getPredicateEvaluator(PredicateEvaluatorProvider.java:100)
       at org.apache.pinot.core.plan.FilterPlanNode.constructPhysicalOperator(FilterPlanNode.java:310)
       at org.apache.pinot.core.plan.FilterPlanNode.run(FilterPlanNode.java:101)
   ...
   Caused by: java.lang.NullPointerException
   QueryExecutionError:
   org.apache.pinot.spi.exception.BadQueryRequestException: java.lang.NullPointerException
       at org.apache.pinot.core.operator.filter.predicate.PredicateEvaluatorProvider.getPredicateEvaluator(PredicateEvaluatorProvider.java:94)
       at org.apache.pinot.core.operator.filter.predicate.PredicateEvaluatorProvider.getPredicateEvaluator(PredicateEvaluatorProvider.java:100)
       at org.apache.pinot.core.plan.FilterPlanNode.constructPhysicalOperator(FilterPlanNode.java:310)
       at org.apache.pinot.core.plan.FilterPlanNode.run(FilterPlanNode.java:101)
   ...
   Caused by: java.lang.NullPointerException
       at org.apache.pinot.segment.local.segment.index.readers.BaseImmutableDictionary.binarySearch(BaseImmutableDictionary.java:324)
       at org.apache.pinot.segment.local.segment.index.readers.BaseImmutableDictionary.getDictIdsDivideBinarySearch(BaseImmutableDictionary.java:306)
       at org.apache.pinot.segment.local.segment.index.readers.BaseImmutableDictionary.getDictIds(BaseImmutableDictionary.java:289)
       at org.apache.pinot.core.operator.filter.predicate.PredicateUtils.getDictIdSet(PredicateUtils.java:171)
   ```


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


Re: [I] Bug with IN predicate eval with multiple values with $SegmentName [pinot]

Posted by "Jackie-Jiang (via GitHub)" <gi...@apache.org>.
Jackie-Jiang closed issue #11929: Bug with IN predicate eval with multiple values with $SegmentName
URL: https://github.com/apache/pinot/issues/11929


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