[
https://issues.apache.org/jira/browse/HIVE-19710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16491023#comment-16491023
]
Miklos Gergely commented on HIVE-19710:
---------------------------------------
I've tested it with mysql, and it works fine. Obviously the purpose of the for
update clause is lost, so in case someone is trying to create a catalog at the
same time there may be an issue. But as I see it was a bit overcautious, as the
only way to create a catalog is this, and it seems unlikely that someone is
running two instances of the program at the exact same moment.
> Hive Schema Tool createCatalog command is not working with postgres DB
> ----------------------------------------------------------------------
>
> Key: HIVE-19710
> URL: https://issues.apache.org/jira/browse/HIVE-19710
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Affects Versions: 3.0.0
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HIVE-19710.01.patch
>
>
> Hive Schema Tool can't create catalogs if the db is postgres due to trying to
> run an aggregated query in FOR UPDATE mode which is not supported.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)