You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Gergely Fürnstáhl (Jira)" <ji...@apache.org> on 2022/07/19 09:22:00 UTC

[jira] [Resolved] (IMPALA-11358) Kudu tables missing comment field if HMS-Kudu integration is enabled

     [ https://issues.apache.org/jira/browse/IMPALA-11358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gergely Fürnstáhl resolved IMPALA-11358.
----------------------------------------
    Target Version: Impala 4.2.0
        Resolution: Fixed

> Kudu tables missing comment field if HMS-Kudu integration is enabled
> --------------------------------------------------------------------
>
>                 Key: IMPALA-11358
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11358
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Gergely Fürnstáhl
>            Assignee: Gergely Fürnstáhl
>            Priority: Major
>
> *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());



--
This message was sent by Atlassian Jira
(v8.20.10#820010)