You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Shuyi Chen (JIRA)" <ji...@apache.org> on 2017/06/21 22:34:00 UTC

[jira] [Commented] (CALCITE-1856) Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion

    [ https://issues.apache.org/jira/browse/CALCITE-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058378#comment-16058378 ] 

Shuyi Chen commented on CALCITE-1856:
-------------------------------------

PR is here: https://github.com/apache/calcite/pull/479

> Add StructKind.PEEK_FIELDS_NO_FLATTENING option to disable star expansion
> -------------------------------------------------------------------------
>
>                 Key: CALCITE-1856
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1856
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Shuyi Chen
>            Assignee: Julian Hyde
>
> We want to use StructKind.PEEK_FIELDS for RecordType. But currently in calcite, a side effect of using PEEK_FIELDS is that "select *" will recursively flatten the PEEK_FIELDS RecordType. We want to add an option call PEEK_FIELDS_NO_FLATTENING to disable the behavior.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)