hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15430) Change SchemaTool table validator to test based on the dbType
Date Fri, 10 Feb 2017 15:23:41 GMT

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

Naveen Gangam updated HIVE-15430:
---------------------------------
    Attachment: HIVE-15430.2.patch

Fixing a test failure for derby where the tables parsed from schema files contained "APP.<tbname>"
where as the tables from the DB via JDBC returned just the tablename without the "APP." prefix.
Fixed the schema tool to accommodate this difference.

> Change SchemaTool table validator to test based on the dbType
> -------------------------------------------------------------
>
>                 Key: HIVE-15430
>                 URL: https://issues.apache.org/jira/browse/HIVE-15430
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>    Affects Versions: 2.2.0
>            Reporter: Naveen Gangam
>            Assignee: Naveen Gangam
>            Priority: Minor
>         Attachments: HIVE-15430.1.patch, HIVE-15430.2.patch
>
>
> Currently the validator parses the "oracle" schema file to determine what tables are
expected in the database.  (mostly because of ease of parsing the schema file compared to
other syntax). We have learnt from HIVE-15118, that not all schema files have the same amount
of tables. For example, derby has an old table that is never used that other DBs do not contain).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message