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

Correct error message for EXISTS clause

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0, 0.10.1
    • Component/s: Expression
    • Labels:
      None
    • Environment:

      Tajo 0.11.0-SNAPSHOT (rev. 69fd8d2 source checksum 2d2e9d2 compiled by dongjoon 2015-03-10T13:27Z)

      Description

      TSQL prints a wrong error message related `InPredicate` when EXISTS clause is used like following statement.


      default> select * from t1 where exists (select * from t1);
      ERROR: Can not set boolean field org.apache.tajo.algebra.InPredicate.not to org.apache.tajo.algebra.ExistsPredicate

      It should be like the following.

      default> select * from t1 where exists (select * from t1);
      select * from t1 where exists (select * from t1);
      ERROR: Cannot support EXISTS clause yet

        Attachments

        1. TAJO-1387.patch
          0.6 kB
          Dongjoon Hyun

          Activity

            People

            • Assignee:
              dongjoon Dongjoon Hyun
              Reporter:
              dongjoon Dongjoon Hyun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: