You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by ja...@apache.org on 2014/04/21 20:29:10 UTC
[3/3] git commit: Fix SchemaPath compound constructor to correctly
build tree.
Fix SchemaPath compound constructor to correctly build tree.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/4a8ae53c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/4a8ae53c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/4a8ae53c
Branch: refs/heads/master
Commit: 4a8ae53cc5ed41bf9cae436eebbb29fa5f518327
Parents: 18ac7b4
Author: Jacques Nadeau <ja...@apache.org>
Authored: Mon Apr 21 11:28:55 2014 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Mon Apr 21 11:28:55 2014 -0700
----------------------------------------------------------------------
.../main/java/org/apache/drill/common/expression/SchemaPath.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/4a8ae53c/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java b/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
index 659639a..28f060e 100644
--- a/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
+++ b/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
@@ -59,7 +59,7 @@ public class SchemaPath extends LogicalExpressionBase {
Collections.reverse(paths);
NameSegment s = null;
for(String p : paths){
- s = new NameSegment(p);
+ s = new NameSegment(p, s);
}
return new SchemaPath(s);
}