Repository: phoenix
Updated Branches:
  refs/heads/master 92ec5ae95 -> 5eeb060e1


PHOENIX-1891 TupleProjectorCompiler clones PTable with full name for table name


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

Branch: refs/heads/master
Commit: 5eeb060e188032df256a56cb30537cb41339ddbd
Parents: 92ec5ae
Author: James Taylor <[email protected]>
Authored: Mon Apr 20 00:03:47 2015 -0700
Committer: James Taylor <[email protected]>
Committed: Mon Apr 20 00:03:47 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/phoenix/compile/TupleProjectionCompiler.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5eeb060e/phoenix-core/src/main/java/org/apache/phoenix/compile/TupleProjectionCompiler.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/compile/TupleProjectionCompiler.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/compile/TupleProjectionCompiler.java
index 72e2a26..5114411 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/compile/TupleProjectionCompiler.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/compile/TupleProjectionCompiler.java
@@ -43,11 +43,11 @@ import org.apache.phoenix.schema.PColumn;
 import org.apache.phoenix.schema.PName;
 import org.apache.phoenix.schema.PNameFactory;
 import org.apache.phoenix.schema.PTable;
+import org.apache.phoenix.schema.PTable.IndexType;
 import org.apache.phoenix.schema.PTableImpl;
 import org.apache.phoenix.schema.PTableType;
 import org.apache.phoenix.schema.ProjectedColumn;
 import org.apache.phoenix.schema.TableRef;
-import org.apache.phoenix.schema.PTable.IndexType;
 import org.apache.phoenix.util.IndexUtil;
 import org.apache.phoenix.util.SchemaUtil;
 
@@ -146,7 +146,7 @@ public class TupleProjectionCompiler {
             projectedColumns.add(column);
         }
         
-        return PTableImpl.makePTable(table.getTenantId(), 
table.getSchemaName(), table.getName(), PTableType.PROJECTED,
+        return PTableImpl.makePTable(table.getTenantId(), 
table.getSchemaName(), table.getTableName(), PTableType.PROJECTED,
                 table.getIndexState(), table.getTimeStamp(), 
table.getSequenceNumber(), table.getPKName(),
                 table.getBucketNum(), projectedColumns, 
table.getParentSchemaName(),
                 table.getParentName(), table.getIndexes(), 
table.isImmutableRows(), Collections.<PName>emptyList(), null, null,

Reply via email to