java.lang.UnsupportedOperationException: Reading a batch of values is not supported for multi-value BlockValSet

GitHub | fx19880617 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Aggregation Functions on Multi-value Columns

    GitHub | 6 months ago | fx19880617
    java.lang.UnsupportedOperationException: Reading a batch of values is not supported for multi-value BlockValSet

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Reading a batch of values is not supported for multi-value BlockValSet

      at com.linkedin.pinot.core.operator.docvalsets.MultiValueSet.readIntValues()
    2. com.linkedin.pinot
      TraceRunnable.run
      1. com.linkedin.pinot.core.operator.docvalsets.MultiValueSet.readIntValues(MultiValueSet.java:47)
      2. com.linkedin.pinot.core.common.DataFetcher.fetchSingleDictIds(DataFetcher.java:106)
      3. com.linkedin.pinot.core.operator.aggregation.SingleValueBlockCache.getDictIdArrayForColumn(SingleValueBlockCache.java:91)
      4. com.linkedin.pinot.core.operator.aggregation.SingleValueBlockCache.getDoubleValueArrayForColumn(SingleValueBlockCache.java:110)
      5. com.linkedin.pinot.core.operator.aggregation.groupby.DefaultGroupByExecutor.aggregateColumn(DefaultGroupByExecutor.java:182)
      6. com.linkedin.pinot.core.operator.aggregation.groupby.DefaultGroupByExecutor.process(DefaultGroupByExecutor.java:133)
      7. com.linkedin.pinot.core.operator.aggregation.groupby.AggregationGroupByOperator.processBlock(AggregationGroupByOperator.java:129)
      8. com.linkedin.pinot.core.operator.aggregation.groupby.AggregationGroupByOperator.getNextBlock(AggregationGroupByOperator.java:98)
      9. com.linkedin.pinot.core.operator.aggregation.groupby.AggregationGroupByOperator.getNextBlock(AggregationGroupByOperator.java:80)
      10. com.linkedin.pinot.core.operator.BaseOperator.nextBlock(BaseOperator.java:36)
      11. com.linkedin.pinot.core.operator.MCombineGroupByOperator$1.runJob(MCombineGroupByOperator.java:175)
      12. com.linkedin.pinot.core.util.trace.TraceRunnable.run(TraceRunnable.java:53)
      12 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames