Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2016

Altered column DEFAULTs don't show up in metadata

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.4.0
    • client

    Description

      A recent change (KUDU-861) added the ability to alter column defaults. However, after altering a default, accessing the table's metadata does not reflect the new default in the ColumnSchema.

      The new default is applied correctly to newly inserted rows, and other attributes that can be altered from that patch, ENCODING, COMPRESSION, and BLOCK_SIZE, show up in the metadata correctly.

      A small repro is attached.

      Attachments

        Activity

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

          People

            wdberkeley William Berkeley
            twmarshall Thomas Tauber-Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment