Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-1782

Error 1135 for a primary key column not declared NOT NULL

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.6 (pre-incubation)
    • Fix Version/s: None
    • Component/s: sql-cmp
    • Labels:
      None

      Description

      When creating a table like this:

      create table t(a int primary key)

      or

      create table t(a int, primary key(a))

      Trafodion issues an error 1135 (Clustering key column ID must be assigned a NOT NULL NOT DROPPABLE constraint.). It would be better (and ANSI SQL compliant) if that constraint would be added implicitly, without generating an error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anoopsharma Anoop Sharma
                Reporter:
                hzeller Hans Zeller
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: