[ 
https://issues.apache.org/jira/browse/HIVE-5376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960805#comment-13960805
 ] 

Sergey Shelukhin commented on HIVE-5376:
----------------------------------------

Discussed w/Harish. It should be ok to do on client now.
It's better to do close to data (metadata :)) but it will be difficult to 
achieve because metastore cannot depend on QL during compilation so some proxy 
class will need to be used, like for getPartitionsByExpr.
Maybe another jira can be filed...

> Hive does not honor type for partition columns when altering column type
> ------------------------------------------------------------------------
>
>                 Key: HIVE-5376
>                 URL: https://issues.apache.org/jira/browse/HIVE-5376
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Sergey Shelukhin
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-5376.1.patch
>
>
> Followup for HIVE-5297. If partition column of type string is changed to int, 
> the data is not verified. The values for partition columns are all in 
> metastore db, so it's easy to check and fail the type change.
> alter_partition_coltype.q (or some other test?) checks this behavior right 
> now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to