Description
When using the Spark Catalog to access StarRocks tables, column comments defined in StarRocks are not visible in Spark metadata commands such as DESC and SHOW CREATE TABLE.
Steps to Reproduce
- Create a StarRocks table with column comments:
CREATE TABLE test.users (
user_id BIGINT NOT NULL COMMENT 'user id',
email VARCHAR(256) NULL COMMENT 'user email'
);
- Register the StarRocks Catalog in Spark and run:
DESC sr.test.users;
SHOW CREATE TABLE sr.test.users;
- Observe that the comment column is empty for all fields.
Description
When using the Spark Catalog to access StarRocks tables, column comments defined in StarRocks are not visible in Spark metadata commands such as
DESCandSHOW CREATE TABLE.Steps to Reproduce