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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to