[
https://issues.apache.org/jira/browse/CALCITE-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906551#comment-17906551
]
Mihai Budiu commented on CALCITE-6735:
--------------------------------------
I have reduced the scope of this issue to ROW types only, since it looks like
handling ARRAY is also quite involved.
I don't even know whether comparing two ROW values with different types should
be allowed.
> Type coercion for comparisons does not coerce ROW types
> -------------------------------------------------------
>
> Key: CALCITE-6735
> URL: https://issues.apache.org/jira/browse/CALCITE-6735
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.37.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
>
> Type coercion finds the common type for scalar types, but not for composite
> types.
> E.g., ROW(1, 'x') = ROW('x', 1) is a legal comparison, but coercion does not
> coerce the component types of the ROW recursively.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)