You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2022/01/11 09:19:00 UTC
[jira] [Commented] (IGNITE-15983) Regression when using SELECT (EXISTS (...)) part 2
[ https://issues.apache.org/jira/browse/IGNITE-15983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472590#comment-17472590 ]
Andrey Mashenkov commented on IGNITE-15983:
-------------------------------------------
[~vermakov]
PR looks good.
Please, avoid using 3-rd party lib just for creating a List from an array as there is a function in JDK for this.
> Regression when using SELECT (EXISTS (...)) part 2
> --------------------------------------------------
>
> Key: IGNITE-15983
> URL: https://issues.apache.org/jira/browse/IGNITE-15983
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Vladimir Ermakov
> Assignee: Vladimir Ermakov
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In the task https://issues.apache.org/jira/browse/IGNITE-14354 erroneous queries were not fully corrected.
> So, a query like
> {code:java}
> CREATE TABLE t (i int PRIMARY KEY, j int);
> SELECT (EXISTS (SELECT 1 FROM t WHERE t.i = 1)); {code}
> now passes, when a query
> {code:java}
> CREATE TABLE t (i int PRIMARY KEY, j int);
> SELECT (EXISTS (SELECT i FROM t WHERE t.i = 1)); {code}
> still fails.
> The original cause of the error must be fixed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)