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

Column reference used in LIMIT clause incurs NPE.

    Details

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

      Description

      select * from LINEITEM limit L_ORDERKEY;
      

      Of course, any column reference is not allowed in LIMIT clause. But, the above query will cause NPE. This is an query validator bug.

        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: