You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/01/12 08:01:29 UTC

[03/24] ignite git commit: tests have been fixed

tests have been fixed


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

Branch: refs/heads/ignite-gg-11810
Commit: df7b4f65fbea86310c953c7bd41d2fd7ab85831e
Parents: b2999f2
Author: Sergey Sidorov <ss...@gridgain.com>
Authored: Wed Nov 16 16:50:55 2016 +0300
Committer: Sergey Sidorov <ss...@gridgain.com>
Committed: Wed Nov 16 16:50:55 2016 +0300

----------------------------------------------------------------------
 .../internal/processors/query/IgniteSqlSplitterSelfTest.java   | 6 ++++--
 .../internal/processors/query/h2/sql/GridQueryParsingTest.java | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/df7b4f65/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSplitterSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSplitterSelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSplitterSelfTest.java
index b5c3d7c..4e9f3c7 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSplitterSelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/IgniteSqlSplitterSelfTest.java
@@ -269,8 +269,10 @@ public class IgniteSqlSplitterSelfTest extends GridCommonAbstractTest {
             c1.put(4, new Person2(2, "p2"));
             c1.put(5, new Person2(3, "p3"));
 
-            String select = "select o.name n1, p.name n2 from Person2 p, Organization o where p.orgId = o._key and o._key=1" +
-                " union select o.name n1, p.name n2 from Person2 p, Organization o where p.orgId = o._key and o._key=2";
+            String select = "select o.name n1, p.name n2 from Person2 p, \"org\".Organization o" +
+                            " where p.orgId = o._key and o._key=1" +
+                            " union select o.name n1, p.name n2 from Person2 p, \"org\".Organization o" +
+                            " where p.orgId = o._key and o._key=2";
 
             String plan = (String)c1.query(new SqlFieldsQuery("explain " + select)
                 .setDistributedJoins(true).setEnforceJoinOrder(true))

http://git-wip-us.apache.org/repos/asf/ignite/blob/df7b4f65/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 9e65835..5c7139f 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
@@ -155,7 +155,7 @@ public class GridQueryParsingTest extends GridCommonAbstractTest {
 
         checkQuery("select avg(old) from Person left join \"addr\".Address where Person.addrId = Address.id " +
             "and lower(Address.street) = lower(?)");
-        checkQuery("select avg(old) from Person right join Address where Person.addrId = Address.id " +
+        checkQuery("select avg(old) from Person right join \"addr\".Address where Person.addrId = Address.id " +
             "and lower(Address.street) = lower(?)");
 
         checkQuery("select avg(old) from Person, \"addr\".Address where Person.addrId = Address.id " +