Chaoyu Tang commented on HIVE-14926:

[~aihuaxu] Left comments in RB. AFAIK, DDLs would not work with the autocommit 
false for most RDBMS and their drivers.

> Keep Schema in consistent state where schemaTool fails or succeeds.  
> ---------------------------------------------------------------------
>                 Key: HIVE-14926
>                 URL: https://issues.apache.org/jira/browse/HIVE-14926
>             Project: Hive
>          Issue Type: Improvement
>          Components: Database/Schema
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-14926.1.patch, HIVE-14926.2.patch
> SchemaTool uses autocommit right now when executing the upgrade or init 
> scripts. Seems we should use database transaction to commit or roll back to 
> keep schema consistent.  

This message was sent by Atlassian JIRA

Reply via email to