ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [29/39] incubator-ignite git commit: ignite-sql-tests - remarks
Date Mon, 16 Mar 2015 05:33:33 GMT
ignite-sql-tests - remarks


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

Branch: refs/heads/ignite-45
Commit: 0b12f928fc221d0e2216876a69ca48d830748f0d
Parents: a43be64
Author: S.Vladykin <svladykin@gridgain.com>
Authored: Sun Mar 15 23:20:42 2015 +0300
Committer: S.Vladykin <svladykin@gridgain.com>
Committed: Sun Mar 15 23:20:42 2015 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/sql/GridSqlQuerySplitter.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0b12f928/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
index af9ffaf..019ed59 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlQuerySplitter.java
@@ -314,10 +314,10 @@ public class GridSqlQuerySplitter {
 
                 GridSqlType type = el.expressionResultType();
 
-                if (type != null && type.type() == Value.UUID)
+                if (type != null && type.type() == Value.UUID) // There is no JDBC
type UUID, so conversion to bytes occurs.
                     rdcEl = function(CAST).setCastType("UUID").addChild(rdcEl);
 
-                if (colNames.add(rdcColAlias))
+                if (colNames.add(rdcColAlias)) // To handle column name duplication (usually
wildcard for few tables).
                     rdcEl = alias(rdcColAlias, rdcEl);
 
                 rdcSelect[idx] = rdcEl;


Mime
View raw message