You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2022/01/12 17:35:00 UTC
[jira] [Created] (HUDI-3236) ALTER TABLE COMMENT old comment gets reverted
Raymond Xu created HUDI-3236:
--------------------------------
Summary: ALTER TABLE COMMENT old comment gets reverted
Key: HUDI-3236
URL: https://issues.apache.org/jira/browse/HUDI-3236
Project: Apache Hudi
Issue Type: Bug
Reporter: Raymond Xu
Assignee: Yann Byron
Fix For: 0.11.0
{code:sql}
create table if not exists cow_nonpt_nonpcf_tbl (
id int,
name string,
price double
) using hudi
options (
type = 'cow',
primaryKey = 'id'
);
insert into cow_nonpt_nonpcf_tbl select 1, 'a1', 20;
ALTER TABLE cow_nonpt_nonpcf_tbl alter column id comment "primary id";
-- this works fine so far
ALTER TABLE cow_nonpt_nonpcf_tbl alter column name comment "name column";
-- this saves the comment for name column
-- but comment for id column was reverted back to NULL
{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)