You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/10 09:03:19 UTC

ignite git commit: IGNITE-3477 - Fixed query parsing test

Repository: ignite
Updated Branches:
  refs/heads/ignite-3477-master c449d6e93 -> 2e996471f


IGNITE-3477 - Fixed query parsing test


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2e996471
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2e996471
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2e996471

Branch: refs/heads/ignite-3477-master
Commit: 2e996471f7e48c2b6e84bfc453072a9562025a1d
Parents: c449d6e
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Mon Apr 10 12:03:41 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Mon Apr 10 12:03:41 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/sql/GridQueryParsingTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2e996471/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/GridQueryParsingTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/GridQueryParsingTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/GridQueryParsingTest.java
index 865bd5d..1d8893e 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/GridQueryParsingTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/h2/sql/GridQueryParsingTest.java
@@ -118,9 +118,9 @@ public class GridQueryParsingTest extends GridCommonAbstractTest {
         checkQuery("select 1 from Person p where addrIds in ((1,2,3), (3,4,5))");
         checkQuery("select 1 from Person p where addrId in ((1,))");
         checkQuery("select 1 from Person p " +
-            "where p.addrId in (select a.id from Address a)");
+            "where p.addrId in (select a.id from sch2.Address a)");
         checkQuery("select 1 from Person p " +
-            "where exists(select 1 from Address a where p.addrId = a.id)");
+            "where exists(select 1 from sch2.Address a where p.addrId = a.id)");
         checkQuery("select 42");
         checkQuery("select ()");
         checkQuery("select (1)");
@@ -310,7 +310,7 @@ public class GridQueryParsingTest extends GridCommonAbstractTest {
      */
     public void testParseTableFilter() throws Exception {
         Prepared prepared = parse("select Person.old, p1.old, p1.addrId from Person, Person p1 " +
-            "where exists(select 1 from Address a where a.id = p1.addrId)");
+            "where exists(select 1 from sch2.Address a where a.id = p1.addrId)");
 
         GridSqlSelect select = (GridSqlSelect)new GridSqlQueryParser(false).parse(prepared);