calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Liew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-1660) SqlNameMatcher does not match fields in a structure
Date Mon, 27 Feb 2017 00:42:45 GMT
Kevin Liew created CALCITE-1660:
-----------------------------------

             Summary: SqlNameMatcher does not match fields in a structure
                 Key: CALCITE-1660
                 URL: https://issues.apache.org/jira/browse/CALCITE-1660
             Project: Calcite
          Issue Type: Bug
    Affects Versions: 1.11.0
            Reporter: Kevin Liew
            Assignee: Julian Hyde


Is this something that should be supported? It fails on assertion with {{"F1"."C2"}}

{code:java}
  public String getSimple() {
    assert names.size() == 1;
    return names.get(0);
  }
{code}

I ran into this issue while trying to create a view constrained by one field of the {{STRUCT.T}}
structure in {{MockCatalogReader}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message