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

SELECT DISTINCT fails when applied to boolean column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • None
    • None

    Description

      SELECT DISTINCT fails when applied to boolean column.

      0: jdbc:drill:zk=local> select distinct `bool_val` from `sys`.`options`;
      Query failed: Query failed: Failure while running fragment., Failure finding function that runtime code generation expected.  Signature: compare_to( BIT:OPTIONALBIT:OPTIONAL,  ) returns INT:REQUIRED [ af1536ff-eca4-4592-b0ac-2b625362bf2f on 10.11.4.182:31010 ]
      [ af1536ff-eca4-4592-b0ac-2b625362bf2f on 10.11.4.182:31010 ]
      

      Attachments

        1. DRILL-1898.patch
          5 kB
          Mehant Baid

        Activity

          People

            mehant Mehant Baid
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: