Repository: kylin Updated Branches: refs/heads/2.0.x-hbase0.98 bb4df0630 -> ba68e5355 (forced update)
KYLIN-2636 bug fix Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7843f3d6 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7843f3d6 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7843f3d6 Branch: refs/heads/2.0.x-hbase0.98 Commit: 7843f3d6aa2784dfec4751d059f770738b02f1fd Parents: 94cd373 Author: Hongbin Ma <mahong...@apache.org> Authored: Tue May 23 12:40:25 2017 +0800 Committer: Hongbin Ma <mahong...@apache.org> Committed: Tue May 23 12:40:25 2017 +0800 ---------------------------------------------------------------------- .../main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/7843f3d6/query/src/main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java ---------------------------------------------------------------------- diff --git a/query/src/main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java b/query/src/main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java index b749d85..e7b09a3 100644 --- a/query/src/main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java +++ b/query/src/main/java/org/apache/kylin/query/relnode/OLAPProjectRel.java @@ -254,7 +254,7 @@ public class OLAPProjectRel extends Project implements OLAPRel { return CompareResultType.AlwaysTrue; } - if (isConstant(operands.get(0)) && isConstant(operands.get(0))) { + if (isConstant(operands.get(0)) && isConstant(operands.get(1))) { return CompareResultType.AlwaysFalse; } }