Fix compilation failure
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/045ffcbe Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/045ffcbe Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/045ffcbe Branch: refs/heads/encodecolumns2 Commit: 045ffcbe2956e4f8302d7a108db142a39d945cc1 Parents: 56c1767 Author: Samarth <[email protected]> Authored: Mon Nov 7 13:27:06 2016 -0800 Committer: Samarth <[email protected]> Committed: Mon Nov 7 23:54:24 2016 -0800 ---------------------------------------------------------------------- .../src/main/java/org/apache/phoenix/util/PhoenixRuntime.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/045ffcbe/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java index a946575..563ccab 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java @@ -1148,9 +1148,9 @@ public class PhoenixRuntime { PColumn pColumn = null; if (familyName != null) { PColumnFamily family = table.getColumnFamily(familyName); - pColumn = family.getColumn(columnName); + pColumn = family.getPColumnForColumnName(columnName); } else { - pColumn = table.getColumn(columnName); + pColumn = table.getPColumnForColumnName(columnName); } return pColumn; }
