You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "XiDuo You (Jira)" <ji...@apache.org> on 2022/09/06 09:48:00 UTC
[jira] [Created] (SPARK-40354) Support eliminate dynamic partition for v1 writes
XiDuo You created SPARK-40354:
---------------------------------
Summary: Support eliminate dynamic partition for v1 writes
Key: SPARK-40354
URL: https://issues.apache.org/jira/browse/SPARK-40354
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.4.0
Reporter: XiDuo You
v1 writes will add a extra sort for dynamic columns, e.g.
{code:java}
INSERT INTO TABLE t1 PARTITION(p)
SELECT c1, c2, 'a' as p FROM t2 {code}
if the dynamic columns are foldable, we can optimize it to:
{code:java}
INSERT INTO TABLE t1 PARTITION(p='a')
SELECT c1, c2 FROM t2 {code}
--
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