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

Correct error message for EXISTS clause

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0, 0.10.1
    • Expression
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: