Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
ghx-label-4
Description
Reproduction:
Restart kudu with HMS integration enabled
export IMPALA_KUDU_STARTUP_FLAGS=-hive_metastore_uris=thrift://localhost
testdata/cluster/admin restart kudu
create table kudu_test (
col1 string comment 'col1',
col2 string comment 'col2',
primary key (col1)
)
comment 'kudu_test_comment'
stored as kudu;
describe formatted kudu_test;
...
comment |
...
Proposed solution:
customer found it seems due to there's setComment is missing
https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java#L258
// Set the table's owner.
tableOpts.setOwner(msTbl.getOwner());
// adding line
tableOpts.setComment(params.getComment());