hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Sabharwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-8374) schematool fails on Postgres versions < 9.2
Date Tue, 07 Oct 2014 03:06:34 GMT

    [ https://issues.apache.org/jira/browse/HIVE-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161399#comment-14161399
] 

Mohit Sabharwal commented on HIVE-8374:
---------------------------------------

Patch adds a command line option to schematool to specify that the language should be explicitly
created:
  "-dbOpts postgres.filter.pre.9"

> schematool fails on Postgres versions < 9.2
> -------------------------------------------
>
>                 Key: HIVE-8374
>                 URL: https://issues.apache.org/jira/browse/HIVE-8374
>             Project: Hive
>          Issue Type: Bug
>          Components: Database/Schema
>            Reporter: Mohit Sabharwal
>            Assignee: Mohit Sabharwal
>         Attachments: HIVE-8374.patch
>
>
> The upgrade script for HIVE-5700 creates an UDF with language 'plpgsql',
> which is available by default only for Postgres 9.2+.
> For older Postgres versions, the language must be explicitly created,
> otherwise schematool fails with the error:
> {code}
> Error: ERROR: language "plpgsql" does not exist
>   Hint: Use CREATE LANGUAGE to load the language into the database. (state=42704,code=0)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message