Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 299c30436 -> b485eafa2
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/b485eafa Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b485eafa Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b485eafa Branch: refs/heads/4.x-HBase-0.98 Commit: b485eafa2e765cb1833ae7c23e40cfef030d2fb4 Parents: 299c304 Author: James Taylor <[email protected]> Authored: Mon Apr 20 00:03:47 2015 -0700 Committer: James Taylor <[email protected]> Committed: Mon Apr 20 00:05: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/b485eafa/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,
