metatron-app / metatron-discovery

Powerful & Easy way for big data discovery
https://metatron.app
Apache License 2.0
442 stars 112 forks source link

UseUTF8 is not working in MiddleManager #4221

Open navis opened 1 year ago

navis commented 1 year ago
2023-05-02T05:56:17,087 WARN [qtp1212833245-302[sql_593f6cc6-b816-4931-9898-947e3a1fa406]] io.druid.sql.SqlLifecycle - [localhost:8102:druid/middleManager] java.lang.ClassCastException: io.druid.data.UTF8Bytes cannot be cast to java.lang.String
        at java.lang.String.compareTo(String.java:111)
        at io.druid.common.guava.GuavaUtils$1.compare(GuavaUtils.java:84)
        at io.druid.common.guava.Comparators.lambda$NULL_FIRST$3(Comparators.java:155)
        at io.druid.common.guava.Comparators.lambda$toArrayComparator$2(Comparators.java:114)
        at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
        at java.util.TimSort.sort(TimSort.java:234)
        at java.util.Arrays.parallelSort(Arrays.java:1113)
        at io.druid.query.groupby.MergeIndexParallel.sortRows(MergeIndexParallel.java:127)
        at io.druid.query.groupby.MergeIndexParallel.toMergeStream(MergeIndexParallel.java:114)
        at io.druid.query.GroupByMergedQueryRunner.run(GroupByMergedQueryRunner.java:132)
        at io.druid.query.groupby.GroupByQueryRunnerFactory.lambda$mergeRunners$2(GroupByQueryRunnerFactory.java:362)
        at io.druid.query.BySegmentQueryRunner.run(BySegmentQueryRunner.java:54)
        at io.druid.query.MetricsEmittingQueryRunner.run(MetricsEmittingQueryRunner.java:95)
        at io.druid.query.MetricsEmittingQueryRunner.run(MetricsEmittingQueryRunner.java:95)
        at io.druid.query.CPUTimeMetricQueryRunner.run(CPUTimeMetricQueryRunner.java:68)
        at io.druid.query.spec.SpecificSegmentQueryRunner$1.call(SpecificSegmentQueryRunner.java:84)
        at io.druid.query.spec.SpecificSegmentQueryRunner$1.call(SpecificSegmentQueryRunner.java:80)
        at io.druid.query.spec.SpecificSegmentQueryRunner.doNamed(SpecificSegmentQueryRunner.java:185)
        at io.druid.query.spec.SpecificSegmentQueryRunner.run(SpecificSegmentQueryRunner.java:78)
        at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:104)
        at io.druid.query.GroupByMergedQueryRunner$1$1.call(GroupByMergedQueryRunner.java:99)
        at io.druid.concurrent.Execs$WaitingFuture.execute(Execs.java:457)
        at io.druid.concurrent.Execs$4.run(Execs.java:429)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at io.druid.query.PrioritizedListenableFutureTask.run(PrioritizedExecutorService.java:273)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)