[ 
https://issues.apache.org/jira/browse/HIVE-21462?focusedWorklogId=233289&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-233289
 ]

ASF GitHub Bot logged work on HIVE-21462:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Apr/19 06:32
            Start Date: 26/Apr/19 06:32
    Worklog Time Spent: 10m 
      Work Description: ashutosh-bapat commented on pull request #573: 
HIVE-21462 : Upgrading SQL server backed metastore when changing datatype of a 
column with constraints
URL: https://github.com/apache/hive/pull/573
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 233289)
            Time Spent: 0.5h  (was: 20m)
    Remaining Estimate: 23.5h  (was: 23h 40m)

> Upgrading SQL server backed metastore when changing data type of a column 
> with constraints
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21462
>                 URL: https://issues.apache.org/jira/browse/HIVE-21462
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>            Reporter: Ashutosh Bapat
>            Assignee: Ashutosh Bapat
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21462.01.patch, HIVE-21462.02.patch
>
>   Original Estimate: 24h
>          Time Spent: 0.5h
>  Remaining Estimate: 23.5h
>
> SQL server does not allow changing data type of a column which has a 
> constraint or an index on it. The constraint or the index needs to be dropped 
> before changing the data type and needs to be recreated after that. Metastore 
> upgrade scripts aren't doing this and thus upgrade fails.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to