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

Lefty Leverenz edited comment on HIVE-8374 at 5/19/17 6:43 AM:
---------------------------------------------------------------

bq.  document it when we add options for this arg

Agreed.  Thanks [~mohitsabharwal].

Edit (19/May/17):  The problem with that approach is that the option never got 
documented.  So I've added a TODOC1.0 label.  Here's where the doc belongs:

* [Hive Schema Tool -- The schematool Command | 
https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool#HiveSchemaTool-TheschematoolCommand]

Some new options are being added in 3.0.0 by HIVE-1010, so I'll add a note 
there asking to include this doc.


was (Author: [email protected]):
bq.  document it when we add options for this arg

Agreed.  Thanks [~mohitsabharwal].

> 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
>              Labels: TODOC1.0
>             Fix For: 1.0.0
>
>         Attachments: HIVE-8374.1.patch, HIVE-8374.2.patch, HIVE-8374.3.patch, 
> 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.15#6346)

Reply via email to