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 "Michael Smith (Jira)" <ji...@apache.org> on 2026/05/27 18:31:00 UTC

[jira] [Resolved] (IMPALA-3451) Long comments should not break queries

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

Michael Smith resolved IMPALA-3451.
-----------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> Long comments should not break queries
> --------------------------------------
>
>                 Key: IMPALA-3451
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3451
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>    Affects Versions: Impala 2.3.0
>            Reporter: Marcell Szabo
>            Assignee: Pranav Yogi Lodha
>            Priority: Critical
>              Labels: ramp-up, usability
>             Fix For: Impala 5.0.0
>
>
> 1) The type of column "COMMENT" in HMS DB table "COLUMNS_V2" is varchar(256), which makes Impala thinks the max length of comment is just 256 characters 
> 2) A table defined with an avro schema file can have a comment that is longer than 256 characters.
> Querying from such table causes:
> ERROR: AnalysisException: Failed to load metadata for table: 'database.table' 
> CAUSED BY: TableLoadingException: Failed to load metadata for table: database.table 
> CAUSED BY: AnalysisException: Comment of column 'columnname' exceeds maximum length of 256 characters: 
> <comment>. has 267 characters. 
> Impala should ignore / truncate the comment and execute the query normally.



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

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