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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Planner/Optimizer
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: