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

join with between predicate comparing integer types returns no rows when ORC format used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 2.0.0
    • None
    • None
    • Re-submit

    Description

      getDatabaseProductName Apache Hive
      getDatabaseProductVersion 1.2.1.2.3.0.0-2557
      getDriverName Hive JDBC
      getDriverVersion 1.2.1.2.3.0.0-2557
      getDriverMajorVersion 1
      getDriverMinorVersion 2

      select tint.rnum, tsint.rnum from tint , tsint where tint.cint between tsint.csint and tsint.csint

      when ORC used no rows returned versus TEXT

      create table if not exists TSINT ( RNUM int , CSINT smallint )
      – ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n'
      STORED AS orc ;

      create table if not exists TINT ( RNUM int , CINT int )
      – ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n'
      STORED AS orc ;

      Attachments

        1. TINT
          0.0 kB
          N Campbell
        2. TSINT
          0.0 kB
          N Campbell
        3. HIVE-11372.01.patch
          22 kB
          Matt McCline
        4. HIVE-11372.02.patch
          22 kB
          Matt McCline

        Activity

          People

            mmccline Matt McCline
            the6campbells N Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: