PHOENIX-3856 StatementContext class constructor not honouring supplied scan object (Sukumar Maddineni)
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/d23239fd Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/d23239fd Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/d23239fd Branch: refs/heads/4.x-cdh5.12 Commit: d23239fd0acd4613c565c179f4880621300f3405 Parents: 1976926 Author: James Taylor <jtay...@salesforce.com> Authored: Thu May 3 09:32:57 2018 -0700 Committer: James Taylor <jtay...@salesforce.com> Committed: Wed May 9 13:29:39 2018 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/phoenix/compile/StatementContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/d23239fd/phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java b/phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java index c105046..3e5c8f2 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/compile/StatementContext.java @@ -98,7 +98,7 @@ public class StatementContext { } public StatementContext(PhoenixStatement statement, Scan scan) { - this(statement, FromCompiler.EMPTY_TABLE_RESOLVER, new Scan(), new SequenceManager(statement)); + this(statement, FromCompiler.EMPTY_TABLE_RESOLVER, scan, new SequenceManager(statement)); } public StatementContext(PhoenixStatement statement, ColumnResolver resolver) {