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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.5.1.1, 10.6.1.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: