Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-948

'INSERT INTO' statement to non existence table casuses NPE.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • Planner/Optimizer

    Description

      See the title. In the following example, lineitem_8 does not exist in catalog. In this case, if we use INSERT INTO statement, NPE will be caused. This is a logical validator bug.

      default> insert into lineitem_8 SELECT L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER, L_QUANTITY, L_EXTENDEDPRICE, L_DISCOUNT, L_TAX, L_LINESTATUS, L_SHIPDATE, L_COMMITDATE, L_RECEIPTDATE, L_SHIPINSTRUCT, L_SHIPMODE, L_COMMENT, L_RETURNFLAG FROM LINEITEM;
      ERROR: java.lang.NullPointerException
      

      Attachments

        Activity

          People

            eminency Jongyoung Park
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: