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

Altered column DEFAULTs don't show up in metadata

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: client
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: