You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@quickstep.apache.org by "Zuyu Zhang (JIRA)" <ji...@apache.org> on 2016/11/17 07:14:58 UTC

[jira] [Created] (QUICKSTEP-63) PlanVisualizer related crashes

Zuyu Zhang created QUICKSTEP-63:
-----------------------------------

             Summary: PlanVisualizer related crashes
                 Key: QUICKSTEP-63
                 URL: https://issues.apache.org/jira/browse/QUICKSTEP-63
             Project: Apache Quickstep
          Issue Type: Bug
            Reporter: Zuyu Zhang
            Assignee: Jianqiao Zhu
            Priority: Critical


PlanVisualizer would result in crashes on some queries (i.e., CreateTable) which does not have corresponding PhysicalPlans support in StarSchemaSimpleCostModel::estimateCardinality.

https://github.com/apache/incubator-quickstep/blob/master/utility/PlanVisualizer.cpp#L193

https://github.com/apache/incubator-quickstep/blob/master/query_optimizer/cost_model/StarSchemaSimpleCostModel.cpp#L96

I was wondering if we could "return 0;", instead of crashing, for the rest of unsupported PhyscalPlans.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)