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

Fix bug in TypeConverter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Query Processor
    • None
    • Reviewed

    Description

      There is a bug in the Converter - we are converting all objects to Primitive Java objects instead of Writable.
      This has caused some queries to fail:

      SELECT IF(false, 1, cast(2 as smallint)) + 3 FROM any_table;
      

      Attachments

        1. HIVE-624.2.patch
          77 kB
          Zheng Shao
        2. HIVE-624.1.patch
          77 kB
          Zheng Shao

        Activity

          People

            zshao Zheng Shao
            zshao Zheng Shao
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: