You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Serge Rielau (Jira)" <ji...@apache.org> on 2024/03/15 23:40:00 UTC
[jira] [Created] (SPARK-47427) Support trailing commas in select list
Serge Rielau created SPARK-47427:
------------------------------------
Summary: Support trailing commas in select list
Key: SPARK-47427
URL: https://issues.apache.org/jira/browse/SPARK-47427
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 4.0.0
Reporter: Serge Rielau
DuckDb has popularized allowing trailing commas in the SELECT list.
The benefit of this ability is that it is easy to add, remove, comment out expressions from the select list:
{noformat}
SELECT c1,
/* c2 */
FROM T;
vs
SELECT c1
/* , c2 */
FROM T;
{noformat}
Recently Snowflake jumped onto this usability feature as well.
--
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