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

[jira] [Resolved] (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:all-tabpanel ]

Yuming Wang resolved SPARK-42804.
---------------------------------
    Resolution: Invalid

It looks like this is a problem of your metastore.

> 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