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

Abhishek Rawat updated IMPALA-3451:
-----------------------------------
    Priority: Critical  (was: Minor)

> 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
>            Priority: Critical
>              Labels: ramp-up, usability
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to