KYLIN-2917 bug fix
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/1f6e04c8 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/1f6e04c8 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/1f6e04c8 Branch: refs/heads/master Commit: 1f6e04c80d721ce11e415f92e9df1c4694d56bde Parents: d5bfcf5 Author: Li Yang <liy...@apache.org> Authored: Sun Oct 1 09:07:50 2017 +0800 Committer: Li Yang <liy...@apache.org> Committed: Sun Oct 1 09:11:10 2017 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/kylin/query/relnode/OLAPTableScan.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/1f6e04c8/query/src/main/java/org/apache/kylin/query/relnode/OLAPTableScan.java ---------------------------------------------------------------------- diff --git a/query/src/main/java/org/apache/kylin/query/relnode/OLAPTableScan.java b/query/src/main/java/org/apache/kylin/query/relnode/OLAPTableScan.java index afdfde6..142557c 100644 --- a/query/src/main/java/org/apache/kylin/query/relnode/OLAPTableScan.java +++ b/query/src/main/java/org/apache/kylin/query/relnode/OLAPTableScan.java @@ -216,9 +216,9 @@ public class OLAPTableScan extends TableScan implements OLAPRel, EnumerableRel { implementor.allocateContext(); } - columnRowType = buildColumnRowType(); context = implementor.getContext(); context.allTableScans.add(this); + columnRowType = buildColumnRowType(); if (context.olapSchema == null) { OLAPSchema schema = olapTable.getSchema();