Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27764 Feature Parity between PostgreSQL and Spark
  3. SPARK-28506

not handling usage of group function and window function at some conditions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 3.1.0
    • None
    • SQL
    • None

    Description

      Hi,

      looks like SparkSQL is not able to handle this query:

      SELECT rank() OVER (ORDER BY 1), count(*) FROM empsalary GROUP BY 1;

      PgSQL, on the other hand, does.

      Attachments

        Activity

          People

            Unassigned Unassigned
            DylanGuedes Dylan Guedes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: