Csaba Ringhofer created IMPALA-13748:
----------------------------------------
Summary: Make Serde property handling consistent with Hive
Key: IMPALA-13748
URL: https://issues.apache.org/jira/browse/IMPALA-13748
Project: IMPALA
Issue Type: Bug
Components: Frontend
Reporter: Csaba Ringhofer
Hive seems to both consider serde and table properties with the same name for
serde properties, while Impala only considers serde properties:
{code}
-- from Impala
create table t (i int, s string);
insert into t values (1, "a");
alter table t set tblproperties ('field.delim' = ':');
refresh t;
select * from t; -- returns 1, "a", which means that 'field.delim' was ignored
-- from Hive
select * from t -- returns NULL, NULL, which means that 'field.delim' was
respected
-- from Impala
alter table t set serdeproperties ('field.delim' = ':');
refresh t; -- for some reason refresh is needed for serdeproperty change to
take effect
select * from t; -- returns NULL, NULL + warnings
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)