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

[jira] [Comment Edited] (SPARK-42804) when target table format is textfile using `insert into select` will got error

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

kevinshin edited comment on SPARK-42804 at 3/16/23 6:47 AM:
------------------------------------------------------------

orc and parquet table won't have this problem.

directly use hive beeline connect to hive also have no problem.


was (Author: JIRAUSER281772):
orc and parquet table won't have this problem.

> when target table format is textfile using `insert into select` will got error
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-42804
>                 URL: https://issues.apache.org/jira/browse/SPARK-42804
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.3
>            Reporter: kevinshin
>            Priority: Major
>
> *create* *table* test.tex_t1(name string, address string) *ROW* FORMAT DELIMITED FIELDS TERMINATED *BY* ',' STORED *AS* TEXTFILE;
> *insert* *into* test.tex_t1 *select* 'a', 'b';
> will got alot of message about :
> WARN RetryingMetaStoreClient: MetaStoreClient lost connection. Attempting to reconnect (24 of 24) after 5s. fireListenerEvent
> org.apache.thrift.transport.TTransportException
>  
> But the data was actual write to table.



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