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 "Gergely Fürnstáhl (Jira)" <ji...@apache.org> on 2022/06/15 10:03:00 UTC

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

Gergely Fürnstáhl created IMPALA-11358:
------------------------------------------

             Summary: 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


Spawning from [https://jira.cloudera.com/browse/ENGESC-15097]

*Reproduction:*
Restart kudu with HMS integration enabled
gfurnstahl@gfurnstahl-OptiPlex-7070:~/Impala(IMPALA-11034)$ export IMPALA_KUDU_STARTUP_FLAGS=-hive_metastore_uris=thrift://localhost
gfurnstahl@gfurnstahl-OptiPlex-7070:~/Impala(IMPALA-11034)$ env | grep IMPALA_KUDU_STARTUP_FLAGS
IMPALA_KUDU_STARTUP_FLAGS=-hive_metastore_uris=thrift://localhost
gfurnstahl@gfurnstahl-OptiPlex-7070:~/Impala(IMPALA-11034)$ testdata/cluster/admin restart kudu
Stopping kudu
Starting kudu (Web UI - [http://localhost:8051)|http://localhost:8051)/]


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.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org