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

Make DISTINCT(*) a synonym for DISTINCT *

    XMLWordPrintableJSON

Details

    Description

      We overshot when we removed the rule that ignored parens around star to instead produce a named structs.
      It turns out that there is a substantial set of users abusing thsi property do do DISTINCT to mean DISTINCT *.
      Instead of rolling back the entire improvement, let's special case DISTINCT ( *)

      Attachments

        Issue Links

          Activity

            People

              srielau Serge Rielau
              srielau Serge Rielau
              Wenchen Fan Wenchen Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: