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

cast ( <string type> as bigint) returning null values

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      select rnum, c1, cast(c1 as bigint) from cert.tsdchar tsdchar where rnum in (0,1,2)

      create table if not exists CERT.TSDCHAR ( RNUM int , C1 string)
      row format sequencefile

      rnum c1 _c2
      0 -1 <null>
      1 0 <null>
      2 10 <null>

        Attachments

        1. Hive-3189.patch.txt
          3 kB
          Xiu Guo

          Activity

            People

            • Assignee:
              xguo27 Xiu Guo
              Reporter:
              the6campbells N Campbell
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: