You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Wenrui Meng (Jira)" <ji...@apache.org> on 2022/06/25 21:20:00 UTC

[jira] [Created] (CALCITE-5199) leastRestrictiveStructuredType should reserve the StructKind instead of override it to FULLY_QUALIFIED

Wenrui Meng created CALCITE-5199:
------------------------------------

             Summary: leastRestrictiveStructuredType should reserve the StructKind instead of override it to FULLY_QUALIFIED
                 Key: CALCITE-5199
                 URL: https://issues.apache.org/jira/browse/CALCITE-5199
             Project: Calcite
          Issue Type: Bug
          Components: core
            Reporter: Wenrui Meng
            Assignee: Wenrui Meng


{code:java}
protected @Nullable RelDataType leastRestrictiveStructuredType(
    final List<RelDataType> types) {
  final RelDataType type0 = types.get(0); {code}
It ignores the struct kind from type0 but override it to FULLY_QUALIFIED. 


I think it's better to keep the original struct kind. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)