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

Altered column DEFAULTs don't show up in metadata

    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

        1. KuduTest.java
          4 kB
          Thomas Tauber-Marshall

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: