[
https://issues.apache.org/jira/browse/TAJO-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14377016#comment-14377016
]
ASF GitHub Bot commented on TAJO-1446:
--------------------------------------
GitHub user navis opened a pull request:
https://github.com/apache/tajo/pull/457
TAJO-1446 Comparison of boolean datum is not valid
One more trivial but critical bug
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/navis/tajo TAJO-1446
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/457.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #457
----
commit c85006a25e74dfd08707415a75a103603db95ec8
Author: navis.ryu <[email protected]>
Date: 2015-03-24T00:52:00Z
TAJO-1446 Comparison of boolean datum is not valid
----
> Comparison of boolean datum is not valid
> ----------------------------------------
>
> Key: TAJO-1446
> URL: https://issues.apache.org/jira/browse/TAJO-1446
> Project: Tajo
> Issue Type: Bug
> Reporter: Navis
> Assignee: Navis
>
> This is not valid.
> {code}
> if (val && !datum.asBool()) {
> return -1;
> } else if (val && datum.asBool()) {
> return 1;
> } else {
> return 0;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)