You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/05/25 21:35:12 UTC

[jira] [Created] (CALCITE-1257) Late-binding schema

Julian Hyde created CALCITE-1257:
------------------------------------

             Summary: Late-binding schema
                 Key: CALCITE-1257
                 URL: https://issues.apache.org/jira/browse/CALCITE-1257
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


Calcite should support late-binding schema, similar to what Drill does. Currently if we query a schema-less database such as MongoDB or Elasticsearch the best practice is to create a view that calls {{_MAP['fieldName']}} then casts the result to the desired data type. Creating that view is a significant effort. Certain tables should be flagged as having "late schema", and when validating queries against those tables, users should be able to reference any columns they like.



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