You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julien Le Dem (JIRA)" <ji...@apache.org> on 2016/08/01 20:47:20 UTC

[jira] [Created] (CALCITE-1336) Add view name to the ViewExpander

Julien Le Dem created CALCITE-1336:
--------------------------------------

             Summary: Add view name to the ViewExpander
                 Key: CALCITE-1336
                 URL: https://issues.apache.org/jira/browse/CALCITE-1336
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Julien Le Dem
            Assignee: Julian Hyde


The ViewExpander.expandView() call already has the schema path that contains the view but not the view name itself.
In some context it is useful to also know the name of the view being expanded.
current call:
{code}
RelRoot expandView(
        RelDataType rowType,
        String queryString,
        SchemaPlus rootSchema,
        List<String> schemaPath);
{code}
proposed:
{code}
RelRoot expandView(
        RelDataType rowType,
        String queryString,
        SchemaPlus rootSchema,
        List<String> schemaPath,
        String viewName);
{code}



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