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

AlterSchema should check new column validity earlier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • M3
    • None
    • tablet
    • None
    • M4

    Description

      I ran an ALTER command where the new schema had a NOT NULL column, but I didn't provide any read/write defaults. This succeeded at ALTER time, but of course will be problematic when trying to read, since there's no reasonable value to fill in for the existing rows.

      Attachments

        Activity

          People

            mbertozzi Matteo Bertozzi
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: