Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1446

Comparison of boolean datum is not valid

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: None
    • Labels:
      None

      Description

      This is not valid.

      if (val && !datum.asBool()) {
        return -1;
      } else if (val && datum.asBool()) {
        return 1;
      } else {
        return 0;
      }
      

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user navis closed the pull request at:

          https://github.com/apache/tajo/pull/457

          Show
          githubbot ASF GitHub Bot added a comment - Github user navis closed the pull request at: https://github.com/apache/tajo/pull/457
          Hide
          githubbot ASF GitHub Bot added a comment -

          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 <navis@apache.org>
          Date: 2015-03-24T00:52:00Z

          TAJO-1446 Comparison of boolean datum is not valid


          Show
          githubbot ASF GitHub Bot added a comment - 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 <navis@apache.org> Date: 2015-03-24T00:52:00Z TAJO-1446 Comparison of boolean datum is not valid

            People

            • Assignee:
              navis Navis
              Reporter:
              navis Navis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development