[
https://issues.apache.org/jira/browse/CALCITE-6994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17952988#comment-17952988
]
Zhen Chen commented on CALCITE-6994:
------------------------------------
I don’t quite understand this either. In the PR I mentioned that I was not sure
whether this modification was appropriate. There is such a logic when
constructing multisets:
{code:java}
if (allowCast) {
return makeCall(SqlStdOperatorTable.MULTISET_VALUE, operands);
} else {
return new RexLiteral((Comparable) FlatLists.of(operands), type,
sqlTypeName);
} {code}
Most of the changes in PR are to adapt to RexLiteral. I don’t know if there is
any special intention here. Maybe I should first understand why RexLiteral is
used to construct Multiset.
> Enhance RexBuilder#makeIn to create SEARCH for MULTISET literals
> ----------------------------------------------------------------
>
> Key: CALCITE-6994
> URL: https://issues.apache.org/jira/browse/CALCITE-6994
> Project: Calcite
> Issue Type: Improvement
> Reporter: xiong duan
> Assignee: Zhen Chen
> Priority: Major
> Labels: pull-request-available
>
> The issue was discovered at [https://github.com/apache/calcite/pull/4345.]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)