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

Delayed (on-demand) creation of current user schema makes select from view belonging to other schema fail.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.5.1.1
    • Component/s: SQL
    • Labels:
      None

      Description

      The enclosed repro fails with error 42Y07 'Schema BILL does not exist', even though
      the query does not reference that schema; it selects from joe.myview.

        Attachments

        1. Main.java
          2 kB
          Dag H. Wanvik
        2. derby-3270-dhw-3.stat
          0.4 kB
          Dag H. Wanvik
        3. derby-3270-dhw-3.diff
          10 kB
          Dag H. Wanvik
        4. derby-3270-dhw-2.stat
          0.2 kB
          Dag H. Wanvik
        5. derby-3270-dhw-2.diff
          6 kB
          Dag H. Wanvik
        6. derby-3270-dhw.stat
          0.2 kB
          Dag H. Wanvik
        7. derby-3270-dhw.diff
          6 kB
          Dag H. Wanvik
        8. derby-3270_diff.txt
          3 kB
          Katherine Marsden

          Issue Links

            Activity

              People

              • Assignee:
                dagw Dag H. Wanvik
                Reporter:
                dagw Dag H. Wanvik
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: