Skip to content

can not use alter comment column on tables with Iceberg table engine in antalya 25.6 #1018

@alsugiliazova

Description

@alsugiliazova

I have Iceberg table:

CREATE TABLE table_with_iceberg_engine_1ff2d5bc_9337_11f0_806a_e0c26496f172 
ENGINE=Iceberg('http://minio:9000/warehouse/data', '***', '***')

I comment column:

ALTER TABLE table_with_iceberg_engine_1ff2d5bc_9337_11f0_806a_e0c26496f172 COMMENT COLUMN long_col 'comment_1ff94dae_9337_11f0_bd42_e0c26496f172'

I use describe and expect to see my comment there:

DESCRIBE TABLE table_with_iceberg_engine_1ff2d5bc_9337_11f0_806a_e0c26496f172

Upstream 25.6 output:

   ┌─name────────┬─type──────────────┬─default_type─┬─default_expression─┬─comment──────────────────────────────────────┬─codec_expression─┬─ttl_expression─┐
1. │ boolean_col │ Nullable(Bool)    │              │                    │                                              │                  │                │
2. │ long_col    │ Nullable(Int64)   │              │                    │ comment_1ff94dae_9337_11f0_bd42_e0c26496f172 │                  │                │
3. │ double_col  │ Nullable(Float64) │              │                    │                                              │                  │                │
4. │ string_col  │ Nullable(String)  │              │                    │                                              │                  │                │
5. │ date_col    │ Nullable(Date)    │              │                    │                                              │                  │                │
   └─────────────┴───────────────────┴──────────────┴────────────────────┴──────────────────────────────────────────────┴──────────────────┴────────────────┘

5 rows in set. Elapsed: 0.001 sec. 

Antalya 25.6 output:


   ┌─name────────┬─type──────────────┬─default_type─┬─default_expression─┬─comment─┬─codec_expression─┬─ttl_expression─┐
1. │ boolean_col │ Nullable(Bool)    │              │                    │         │                  │                │
2. │ long_col    │ Nullable(Int64)   │              │                    │         │                  │                │
3. │ double_col  │ Nullable(Float64) │              │                    │         │                  │                │
4. │ string_col  │ Nullable(String)  │              │                    │         │                  │                │
5. │ date_col    │ Nullable(Date)    │              │                    │         │                  │                │
   └─────────────┴───────────────────┴──────────────┴────────────────────┴─────────┴──────────────────┴────────────────┘

5 rows in set. Elapsed: 0.001 sec. 

For merge tree tables describe works on antalya 25.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions