You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/01/19 10:41:00 UTC

[jira] [Updated] (SPARK-54888) Allows non-determinism and correlation in VALUES clause

     [ https://issues.apache.org/jira/browse/SPARK-54888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-54888:
-----------------------------------
    Labels: pull-request-available  (was: )

> Allows non-determinism and correlation in VALUES clause
> -------------------------------------------------------
>
>                 Key: SPARK-54888
>                 URL: https://issues.apache.org/jira/browse/SPARK-54888
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.2.0
>            Reporter: Serge Rielau
>            Priority: Major
>              Labels: pull-request-available
>
> In the SQL Standard and other DBMS the expressions permitted in VALUES are much less restrive than Spark. This ticket will fix that.
> - Allow non determinism in VALUES. E.g. allow inserting UUID
> {noformat}
> INSERT INTO T VALUES(uuid(), 1, 2, 3);{noformat}
> - Allow correlated columns in a VALUES. E.g. e.g. pivot style joins.
> {noformat}
> SELECT P.*
>   FROM sales AS S,
>        LATERAL(VALUES('q1', s.q1), (q2, s.q2)) AS p(quarter, sales) {noformat}



--
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