This is an automated email from the ASF dual-hosted git repository.

ngangam pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/master by this push:
     new ad78861  HIVE-19994 : Drop table intermittantly fails deleting from 
COLUMNS_V2 (Karthik Manamcheri, reviewed by Adam Holley and Naveen Gangam)
ad78861 is described below

commit ad78861666ea3f3ee9824d02b84735e949c1bcb5
Author: Naveen Gangam <[email protected]>
AuthorDate: Wed May 29 12:32:47 2019 -0400

    HIVE-19994 : Drop table intermittantly fails deleting from COLUMNS_V2 
(Karthik Manamcheri, reviewed by Adam Holley and Naveen Gangam)
---
 standalone-metastore/metastore-server/src/main/resources/package.jdo | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/standalone-metastore/metastore-server/src/main/resources/package.jdo 
b/standalone-metastore/metastore-server/src/main/resources/package.jdo
index 117a2f8..8ad2f21 100644
--- a/standalone-metastore/metastore-server/src/main/resources/package.jdo
+++ b/standalone-metastore/metastore-server/src/main/resources/package.jdo
@@ -343,6 +343,7 @@
       </datastore-identity>
       <field name="cols" table="COLUMNS_V2" >
         <collection element-type="MFieldSchema"/>
+        <foreign-key name="COLUMNS_V2_FK" delete-action="cascade"/>
         <join>
           <primary-key name="COLUMNS_PK">
             <column name="COLUMN_NAME"/>

Reply via email to