Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-2013

FilterPushDownRule fails due to the unsupported index

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0, 0.11.1
    • Component/s: Planner/Optimizer
    • Labels:
      None

      Description

      The error can cause, if the catalog is HiveCatalogStore

      2015-12-07 18:54:16,054 ERROR org.apache.tajo.catalog.CatalogServer: 
      Stack Trace:
      java.lang.UnsupportedOperationException
      	at org.apache.tajo.catalog.store.HiveCatalogStore.existIndexByColumns(HiveCatalogStore.java:970)
      	at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.existIndexByColumnNames(CatalogServer.java:1153)
      	at org.apache.tajo.catalog.AbstractCatalogClient.existIndexByColumnNames(AbstractCatalogClient.java:659)
      	at org.apache.tajo.catalog.AbstractCatalogClient.existIndexByColumns(AbstractCatalogClient.java:644)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitScan(FilterPushDownRule.java:994)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitScan(FilterPushDownRule.java:52)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:110)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitFilter(FilterPushDownRule.java:135)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitFilter(FilterPushDownRule.java:52)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:92)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visitGroupBy(BasicLogicalPlanVisitor.java:221)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitGroupBy(FilterPushDownRule.java:884)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitGroupBy(FilterPushDownRule.java:52)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:83)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visitSort(BasicLogicalPlanVisitor.java:203)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:77)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitProjection(FilterPushDownRule.java:603)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.visitProjection(FilterPushDownRule.java:52)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:71)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visitRoot(BasicLogicalPlanVisitor.java:163)
      	at org.apache.tajo.plan.visitor.BasicLogicalPlanVisitor.visit(BasicLogicalPlanVisitor.java:62)
      	at org.apache.tajo.plan.rewrite.rules.FilterPushDownRule.rewrite(FilterPushDownRule.java:118)
      	at org.apache.tajo.plan.rewrite.BaseLogicalPlanRewriteEngine.rewrite(BaseLogicalPlanRewriteEngine.java:84)
      	at org.apache.tajo.plan.LogicalOptimizer.optimize(LogicalOptimizer.java:87)
      	at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:281)
      	at org.apache.tajo.master.GlobalEngine.executeQuery(GlobalEngine.java:190)
      	at org.apache.tajo.master.TajoMasterClientService$TajoMasterClientProtocolServiceHandler.submitQuery(TajoMasterClientService.java:303)
      

        Attachments

          Activity

            People

            • Assignee:
              jhkim Jinho Kim
              Reporter:
              jhkim Jinho Kim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: