java.lang.RuntimeException: cannot translate rel#5670:SampleCrel.NONE.ANY([]). to MutableRel
at org.apache.calcite.rel.mutable.MutableRels.toMutable(MutableRels.java:407)
at org.apache.calcite.rel.mutable.MutableRels.toMutable(MutableRels.java:314)
at org.apache.calcite.plan.SubstitutionVisitor.(SubstitutionVisitor.java:187)
at org.apache.calcite.plan.SubstitutionVisitor.(SubstitutionVisitor.java:175)
at org.apache.calcite.plan.MaterializedViewSubstitutionVisitor.(MaterializedViewSubstitutionVisitor.java:47)
at com.dremio.exec.planner.acceleration.substitution.UnifyingSubstitutionProvider.substitute(UnifyingSubstitutionProvider.java:113)
at com.dremio.exec.planner.acceleration.substitution.UnifyingSubstitutionProvider.substitute(UnifyingSubstitutionProvider.java:99)
at com.dremio.exec.planner.acceleration.substitution.UnifyingSubstitutionProvider.findSubstitutions(UnifyingSubstitutionProvider.java:59)
at com.dremio.exec.planner.acceleration.substitution.AccelerationAwareSubstitutionProvider.findSubstitutions(AccelerationAwareSubstitutionProvider.java:63)
at com.dremio.exec.planner.DremioVolcanoPlanner.registerMaterializations(DremioVolcanoPlanner.java:119)
at org.apache.calcite.plan.volcano.VolcanoPlanner.findBestExp(VolcanoPlanner.java:601)
at com.dremio.exec.planner.DremioVolcanoPlanner.findBestExp(DremioVolcanoPlanner.java:101)
at org.apache.calcite.tools.Programs$RuleSetProgram.run(Programs.java:369)
at com.dremio.exec.planner.sql.handlers.PrelTransformer.lambda$transform$1(PrelTransformer.java:553)
at com.dremio.exec.planner.sql.handlers.PrelTransformer.doTransform(PrelTransformer.java:586)
at com.dremio.exec.planner.sql.handlers.PrelTransformer.transform(PrelTransformer.java:565)
at com.dremio.exec.planner.sql.handlers.PrelTransformer.convertToDrel(PrelTransformer.java:243)
at com.dremio.exec.planner.sql.handlers.PrelTransformer.convertToDrel(PrelTransformer.java:372)
at com.dremio.exec.planner.sql.handlers.query.NormalHandler.getPlan(NormalHandler.java:84)
at com.dremio.exec.planner.sql.handlers.commands.HandlerToExec.plan(HandlerToExec.java:59)
at com.dremio.exec.work.foreman.AttemptManager.plan(AttemptManager.java:459)
at com.dremio.exec.work.foreman.AttemptManager.lambda$run$1(AttemptManager.java:362)
at com.dremio.service.commandpool.CommandWrapper.run(CommandWrapper.java:62)
at com.dremio.context.RequestContext.run(RequestContext.java:95)
at com.dremio.common.concurrent.ContextMigratingExecutorService.lambda$decorate$3(ContextMigratingExecutorService.java:199)
at com.dremio.common.concurrent.ContextMigratingExecutorService$ComparableRunnable.run(ContextMigratingExecutorService.java:180)
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)
dremio 17.0 version