You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2024/04/10 02:31:00 UTC
[jira] [Resolved] (SPARK-47786) Make DISTINCT(*) a synonym for DISTINCT *
[ https://issues.apache.org/jira/browse/SPARK-47786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-47786.
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 45970
[https://github.com/apache/spark/pull/45970]
> Make DISTINCT(*) a synonym for DISTINCT *
> ------------------------------------------
>
> Key: SPARK-47786
> URL: https://issues.apache.org/jira/browse/SPARK-47786
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Serge Rielau
> Assignee: Serge Rielau
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> 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 ( *)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org