Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-4349

NPE while creating local temporary table with "set showplan on"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • JDBC Driver
    • None
    • Hide

      1. Connect to dynamic vdb temptab (no data roles defined)

      • content of method m3() in class Teiid4324:
        ...
        [71] ConnectionImpl ci = TeiidDriver.getInstance().connect("jdbc:teiid:temptab@mm://localhost:31000",props);
        [72] ci.createStatement().execute("SET SHOWPLAN ON");
        [73] ci.createStatement().execute("create local temporary table #abc ( a varchar )");
        ...
        2. if line 72 executes query SET SHOWPLAN ON or SET SHOWPLAN DEBUG, on line 73 is thrown NPE
        3. if line 72 is removed, no exception occurs
      Show
      1. Connect to dynamic vdb temptab (no data roles defined) content of method m3() in class Teiid4324: ... [71] ConnectionImpl ci = TeiidDriver.getInstance().connect("jdbc:teiid:temptab@mm://localhost:31000",props); [72] ci.createStatement().execute("SET SHOWPLAN ON"); [73] ci.createStatement().execute("create local temporary table #abc ( a varchar )"); ... 2. if line 72 executes query SET SHOWPLAN ON or SET SHOWPLAN DEBUG, on line 73 is thrown NPE 3. if line 72 is removed, no exception occurs

    Description

      NPE is thrown while creating local temporary table if "set showplan on"/debug was previously set.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            lfabriko@redhat.com Lucie Krejcirova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: