hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-3977) Hive 0.10 postgres schema script is broken
Date Sat, 02 Feb 2013 01:43:11 GMT

     [ https://issues.apache.org/jira/browse/HIVE-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Johnny Zhang updated HIVE-3977:
-------------------------------

    Status: Patch Available  (was: Open)

fix is straightforward, I will not bother using reviewboard :)
                
> Hive 0.10 postgres schema script is broken
> ------------------------------------------
>
>                 Key: HIVE-3977
>                 URL: https://issues.apache.org/jira/browse/HIVE-3977
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.10.0
>            Reporter: Johnny Zhang
>            Assignee: Johnny Zhang
>            Priority: Critical
>             Fix For: 0.10.0
>
>         Attachments: HIVE-3977.patch.txt
>
>
> run the script inside postgres, hit error in the end
> {noformat}
> metastore=# \i /usr/lib/hive/scripts/metastore/upgrade/postgres/hive-schema-0.10.0.postgres.sql
> SET
> SET
> SET
> SET
> SET
> SET
> SET
> SET
> SET
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> CREATE TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> ALTER TABLE
> psql:/usr/lib/hive/scripts/metastore/upgrade/postgres/hive-schema-0.10.0.postgres.sql:1379:
ERROR:  syntax error at or near ""
>     ADD CONSTRAINT ""
> LINE 1: ALTER TABLE ONLY SKEWED_STRING_LIST_VALUES"
>                                                   ^
> {noformat}
> I will post a patch very soon

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message