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

INSERT INTO with wrong target columns causes NPE.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0, 0.10.1, 0.10.2
    • Component/s: Query Validation
    • Labels:
      None

      Description

      How to reproduce

      CREATE TABLE T1 (col1 int, col2 int);
      INSERT INTO T1 (col1, col3) select l_orderkey, l_partkey from default.lineitem;
      

      When the target column name is wrong (i.e.,, col3 in INSERT statement), the query will cause NPE.

        Attachments

          Activity

            People

            • Assignee:
              hyunsik Hyunsik Choi
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: