You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "David Lavati (JIRA)" <ji...@apache.org> on 2019/03/07 12:01:00 UTC

[jira] [Created] (HIVE-21404) MSSQL upgrade script alters the wrong column

David Lavati created HIVE-21404:
-----------------------------------

             Summary: MSSQL upgrade script alters the wrong column
                 Key: HIVE-21404
                 URL: https://issues.apache.org/jira/browse/HIVE-21404
             Project: Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 3.2.0
            Reporter: David Lavati
            Assignee: David Lavati
             Fix For: 3.2.0


HIVE-20221 changes PARTITION_PARAMS, so the following command is modifying the wrong table:

{{ALTER TABLE "SERDE_PARAMS" ALTER COLUMN "PARAM_VALUE" nvarchar(MAX);}}

https://github.com/apache/hive/blob/d3b036920acde7bb04840697eb13038103b062b4/standalone-metastore/metastore-server/src/main/sql/mssql/upgrade-3.1.0-to-3.2.0.mssql.sql#L21



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