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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Query Planning
    • Labels:
      None
    • Target Version/s:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: