[
https://issues.apache.org/jira/browse/HIVE-23697?focusedWorklogId=446552&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-446552
]
ASF GitHub Bot logged work on HIVE-23697:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jun/20 14:40
Start Date: 16/Jun/20 14:40
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #1113:
URL: https://github.com/apache/hive/pull/1113#discussion_r440903770
##########
File path:
standalone-metastore/metastore-server/src/main/sql/mysql/upgrade-3.2.0-to-4.0.0.mysql.sql
##########
@@ -88,9 +88,9 @@ PREPARE stmt FROM @s;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
RENAME TABLE NEXT_TXN_ID TO TXN_LOCK_TBL;
-ALTER TABLE TXN_LOCK_TBL RENAME COLUMN NTXN_NEXT TO TXN_LOCK;
+ALTER TABLE TXN_LOCK_TBL CHANGE NTXN_NEXT TXN_LOCK bigint;
Review comment:
In Mysql 8 both the syntax works fine but in MySql 5.7 Rename fails.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 446552)
Time Spent: 40m (was: 0.5h)
> Fix errors in the metastore upgrade script
> ------------------------------------------
>
> Key: HIVE-23697
> URL: https://issues.apache.org/jira/browse/HIVE-23697
> Project: Hive
> Issue Type: Sub-task
> Components: Standalone Metastore
> Affects Versions: 4.0.0
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-23697.01.patch, HIVE-23697.02.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Fix a missing column separator in oracle.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)