Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4145

NullPointerException on CREATE TABLE when generated column depends on another generated column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 10.5.1.1, 10.6.1.0
    • SQL
    • None

    Description

      ij> create table t (c1 int, c2 int, c3 generated always as (c1 + c4), c4 generated always as (-c1));
      ERROR XJ001: Java exception: ': java.lang.NullPointerException'.

      Attachments

        1. derby-4145-01-aa-forwardReference.diff
          9 kB
          Richard N. Hillegas

        Activity

          People

            rhillegas Richard N. Hillegas
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: