Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7955

Extend XOR bitwise functions to match AND and OR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.19.0
    • 1.20.0
    • Functions - Drill
    • None

    Description

      The bitwise XOR function (^) is only implemented for INT while AND (&) and OR (|) are implemented for all widths of integer.  Also there is no BIT_XOR aggregate while there are both BIT_AND and BIT_OR.  This improvement proposes to bring XOR in line with AND and OR in both of these respects.

      Attachments

        Activity

          People

            dzamo James Turton
            dzamo James Turton
            Charles Givre Charles Givre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified