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

Java alter table adds new column with only read-default set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • M4
    • 1.1.0
    • client
    • None

    Description

      When issuing an alter table to add a column with a default, the java client is only specifying that default as the "read default". This is contrary to what you get in SQL if you do "ALTER TABLE x ADD COLUMN y int DEFAULT 3" – it will also apply to the write default (i.e allow you to insert a new row without specifying y).

      Attachments

        Issue Links

          Activity

            People

              tlipcon Todd Lipcon
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: