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

ACID table update finishes but values not really updated if column names are not all lower case

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.3.0, 2.0.0
    • Transactions
    • None

    Description

      Column in table is defined with upper case or mixed case, when do update command with verbatim column names, update doesn't update the value. when do update with all lower case column names, it works.
      STEPS TO REPRODUCE:
      create table testable( a string, Bb string, c string)
      clustered by (c) into 3 buckets
      stored as orc
      tblproperties("transactional"="true");
      insert into table testable values ('a1','b1','c1), ('a2','b2','c2'), ('a3','b3','c3');
      update table testable set Bb='bb';
      job finishes, but the values are not really updated.
      update table testable set bb='bb'; it works.

      Attachments

        1. HIVE-10481.patch
          3 kB
          Eugene Koifman
        2. HIVE-10481.2.patch
          3 kB
          Eugene Koifman

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ekoifman Eugene Koifman Assign to me
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment