Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20310

Scalar subquery throws error when hive.optimize.remove.sq_count_check is on

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Query Planning
    • None

    Description

      Reproducer

      > set hive.optimize.remove.sq_count_check=true;
      > create table tempty(i int);
      > create table t(c0 int);
      > explain select * from t where c0 > (select count(*) from tempty group by 1);
      

      Attachments

        Activity

          People

            vgarg Vineet Garg
            vgarg Vineet Garg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: