You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "gabrywu (Jira)" <ji...@apache.org> on 2022/05/06 00:16:00 UTC

[jira] [Commented] (SPARK-39036) Support Alter Table/Partition Concatenate command

    [ https://issues.apache.org/jira/browse/SPARK-39036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532564#comment-17532564 ] 

gabrywu commented on SPARK-39036:
---------------------------------

[~hyukjin.kwon] What do you know about that?  Is anyone working on this to merge small files?

> Support Alter Table/Partition Concatenate command
> -------------------------------------------------
>
>                 Key: SPARK-39036
>                 URL: https://issues.apache.org/jira/browse/SPARK-39036
>             Project: Spark
>          Issue Type: New Feature
>          Components: Spark Core, SQL
>    Affects Versions: 3.3.0
>            Reporter: gabrywu
>            Priority: Major
>
> Hi, folks, 
> In Hive, we can use following command to merge small files, however, there is not a corresponding command to do that in Spark SQL. 
> I believe it's useful and it's not enough only using AQE.  Is anyone working on this to merge small files? If not, I want to create a PR to implement it
>  
> {code:java}
> ALTER TABLE table_name [PARTITION (partition_key = 'partition_value' [, ...])] CONCATENATE;{code}
>  
> [https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTable/PartitionConcatenate]
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org