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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.3.0
    • Component/s: Documentation, SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: