Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19604

Incorrect Handling of Boolean in DruidSerde

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • Druid integration
    • None

    Description

      Results of boolean expressions from Druid are expressed in the form of numeric 1 or 0.
      When reading the results in DruidSerde both 1 and 0 are translated to String and then we call Boolean.valueOf(stringForm), this leads to the boolean being read always as false.

      Attachments

        1. HIVE-19604.patch
          8 kB
          Nishant Bangarwa
        2. HIVE-19604.01.patch
          12 kB
          Nishant Bangarwa
        3. HIVE-19604.02.patch
          12 kB
          Nishant Bangarwa
        4. HIVE-19604.3.patch
          13 kB
          Ashutosh Chauhan

        Activity

          People

            nishantbangarwa Nishant Bangarwa
            nishantbangarwa Nishant Bangarwa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: