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

EXCEPT documentation should make it clear that it's EXCEPT DISTINCT

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.0.0
    • 2.3.0
    • Documentation, SQL
    • None

    Description

      Between 1.6 and 2.0, the default behaviour for EXCEPT changed from EXCEPT ALL to EXCEPT DISTINCT. This is reasonable: postgres defaults to the same, and if you try and explicitly use EXCEPT ALL in 2.0 you get a good error message. However, the change was confusing to some users, so it's worth being explicit in the documentation.

      Attachments

        Activity

          People

            henryr Henry Robinson
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: