[
https://issues.apache.org/jira/browse/HIVE-22407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963673#comment-16963673
]
Aditya Shah commented on HIVE-22407:
------------------------------------
[~pvary] I've attached a patch for branch-3.1 as well. The same could be pushed
to branch 3.0. Can you please review and commit.
Thanks!
> Hive metastore upgrade scripts have incorrect (or outdated) comment syntax
> --------------------------------------------------------------------------
>
> Key: HIVE-22407
> URL: https://issues.apache.org/jira/browse/HIVE-22407
> Project: Hive
> Issue Type: Bug
> Components: Standalone Metastore
> Affects Versions: 4.0.0, 3.1.2
> Reporter: Aditya Shah
> Assignee: Aditya Shah
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22407.branch-3.1.patch, HIVE-22407.patch
>
>
> MySQL has made the single line comment which starts with `--` syntax to have
> min one space after this. This causes the current upgrade scripts in the
> standalone-metastore to throw an exception.
> ref: [https://dev.mysql.com/doc/refman/5.7/en/ansi-diff-comments.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)