[
https://issues.apache.org/jira/browse/IMPALA-11266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
qbhan updated IMPALA-11266:
---------------------------
Description:
I create a table :
CREATE TABLE default.test_0425 (name STRING ,name2 STRING ,name3 String) ROW
FORMAT DELIMITED FIELDS TERMINATED BY '\t'
WITH SERDEPROPERTIES ('colelction.delim'=';', 'field.delim'='\t',
'mapkey.delim'=',', 'serialization.format'='\t') STORED AS TEXTFILE
I insert some data :
insert into test_0425 values ("1;1;1;1",'2','3');
when I read this table ,I find impala will use ';' not '\t' split
data。Hive/Trino query is ok.
was:
I create a table :
CREATE TABLE default.test_0425 (name STRING ,name2 STRING ,name3 String) ROW
FORMAT DELIMITED FIELDS TERMINATED BY '\t'
WITH SERDEPROPERTIES ('colelction.delim'=';', 'field.delim'='\t',
'mapkey.delim'=',', 'serialization.format'='\t') STORED AS TEXTFILE
I insert some data :
insert into test_0425 values ("1;1;1;1",'2','3');
when I read this table ,I find impala will use ';' not '\t' split
data。Hive/Trino query is ok.
!image-2022-04-25-09-36-32-041.png!
> Read data column delimit is error if SERDEPROPERTIES with "colelction.delim"
> ----------------------------------------------------------------------------
>
> Key: IMPALA-11266
> URL: https://issues.apache.org/jira/browse/IMPALA-11266
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 3.4.0
> Reporter: qbhan
> Priority: Major
> Attachments: image-2022-04-25-09-36-32-041.png
>
>
> I create a table :
> CREATE TABLE default.test_0425 (name STRING ,name2 STRING ,name3 String) ROW
> FORMAT DELIMITED FIELDS TERMINATED BY '\t'
> WITH SERDEPROPERTIES ('colelction.delim'=';', 'field.delim'='\t',
> 'mapkey.delim'=',', 'serialization.format'='\t') STORED AS TEXTFILE
> I insert some data :
> insert into test_0425 values ("1;1;1;1",'2','3');
> when I read this table ,I find impala will use ';' not '\t' split
> data。Hive/Trino query is ok.
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]