You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Penglei Shi (Jira)" <ji...@apache.org> on 2023/09/11 07:31:00 UTC

[jira] [Commented] (SPARK-38215) InsertIntoHiveDir support convert metadata

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

Penglei Shi commented on SPARK-38215:
-------------------------------------

[~angerszhuuu] Hi, I found when insert dir select from table which has same path as inserted dir, it will delete table files in advance, and the directory will be empty. Because DDLUtils.verifyNotReadPath just collect LogicalRelation rather than HiveTableRelation, this cause InsertIntoDir will be converted to InsertIntoDataSourceDirCommand even though HiveTableRelation's location is same as the inserted dir.

> InsertIntoHiveDir support convert metadata
> ------------------------------------------
>
>                 Key: SPARK-38215
>                 URL: https://issues.apache.org/jira/browse/SPARK-38215
>             Project: Spark
>          Issue Type: Task
>          Components: SQL
>    Affects Versions: 3.2.1
>            Reporter: angerszhu
>            Assignee: angerszhu
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Current InsertIntoHiveDir command use hive serde write data, con't supporot convert, cause such SQL can't write  parquet with zstd.



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