[
https://issues.apache.org/jira/browse/CALCITE-6599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885796#comment-17885796
]
xiong duan commented on CALCITE-6599:
-------------------------------------
[~julianhyde] I have updated the PR.
{code:java}
The predicates on T (w, x, y, z)} with rows (1, 2, 3, null), (1, 2, null,
null), (5, 2, 3, null)} are
'SEARCH($0, Sarg[1, 5])'
'SEARCH($1, Sarg[2])'
'SEARCH($2, Sarg[3; NULL AS TRUE])'
'[IS NULL($3)'].{code}
> RelMdPredicates pull up wrong predicate from VALUES
> ---------------------------------------------------
>
> Key: CALCITE-6599
> URL: https://issues.apache.org/jira/browse/CALCITE-6599
> Project: Calcite
> Issue Type: Bug
> Reporter: xiong duan
> Priority: Major
> Labels: pull-request-available
>
> For example:
> {code:java}
> {VALUES(1,2,3)}{code}
> Predicates should be ($0=1,$1=2,$2=3), but now is $0=1.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)