Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16639

query fails if having condition contains grouping column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      create table tbl(a int, b string);
      select count(b) from tbl group by a + 1 having a + 1 = 2;
      

      this will fail analysis

      Attachments

        Activity

          People

            viirya L. C. Hsieh
            cloud_fan Wenchen Fan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: