You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "qbhan (Jira)" <ji...@apache.org> on 2022/04/25 01:43:00 UTC

[jira] [Updated] (IMPALA-11266) Read data column delimit is error if SERDEPROPERTIES with "colelction.delim"

     [ 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org