[
https://issues.apache.org/jira/browse/CALCITE-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhen Chen resolved CALCITE-5199.
--------------------------------
Fix Version/s: 1.41.0
Assignee: Zhen Chen (was: krooswu)
Resolution: Fixed
Fixed in
[{{570c412}}|https://github.com/apache/calcite/commit/570c412f2dbf114b56fb92220f6af670a559809a]
Thanks for review [~mbudiu]
> The leastRestrictiveStructuredType method 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: Zhen Chen
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.41.0
>
>
> {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.10#820010)