Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-7025

Verifying the Quantify operator without compatible types, should throw an exception about the Quantify Operator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.40.0
    • None

    Description

      Unit tests in dummy.iq:

      !use post
      select 1.0 = some (ARRAY[1,2,null]);
      Values passed to IN operator must have compatible types
      !error
      select * from emp where cast(true as boolean) > some(select deptno from dept where false);
      Values passed to IN operator must have compatible types
      !error
      select cast(true as boolean) = some (1,2,CAST(null as INTEGER));
      Values passed to IN operator must have compatible types
      !error 

      The current exception is about the IN operator.

      Attachments

        Issue Links

          Activity

            People

              nobigo xiong duan
              nobigo xiong duan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: