Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
v4.0.1
-
None
Description
when I install kylin4.0.1 query node, set the config: kylin.query.enable-dict-enumerator=true, kylin.query.enable-dynamic-column=true, kylin.query.segment-cache-enabled=true which i install kylin2.6.3. then the error as shown below:
2022-04-07 13:41:33,685 ERROR [http-bio-7070-exec-4] controller.BasicController:65 :
org.apache.kylin.rest.exception.InternalErrorException: scala.MatchError: executeColumnDictionaryQuery (of class java.lang.String)
while executing SQL: "select * from (select biz_date from *** where biz_date = '2022-03-01' group by biz_date) limit 500"
at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:497)
at org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:416)
at org.apache.kylin.rest.controller.QueryController.query(QueryController.java:93)
at sun.reflect.GeneratedMethodAccessor821.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:854)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:765)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
...
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:750)
Caused by: scala.MatchError: executeColumnDictionaryQuery (of class java.lang.String)
at org.apache.kylin.query.runtime.CalciteToSparkPlaner.visit(CalciteToSparkPlaner.scala:51)
at org.apache.calcite.rel.SingleRel.childrenAccept(SingleRel.java:72)
at org.apache.kylin.query.runtime.CalciteToSparkPlaner.visit(CalciteToSparkPlaner.scala:45)
at org.apache.calcite.rel.SingleRel.childrenAccept(SingleRel.java:72)
at org.apache.kylin.query.runtime.CalciteToSparkPlaner.visit(CalciteToSparkPlaner.scala:45)