[
https://issues.apache.org/jira/browse/HIVE-23363?focusedWorklogId=453599&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-453599
]
ASF GitHub Bot logged work on HIVE-23363:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Jul/20 18:59
Start Date: 01/Jul/20 18:59
Worklog Time Spent: 10m
Work Description: belugabehr commented on a change in pull request #1118:
URL: https://github.com/apache/hive/pull/1118#discussion_r448558398
##########
File path: standalone-metastore/metastore-server/src/main/resources/package.jdo
##########
@@ -345,20 +345,20 @@
<datastore-identity>
<column name="CD_ID"/>
</datastore-identity>
- <field name="cols" table="COLUMNS_V2" >
+ <field name="cols" persistence-modifier="persistent" table="COLUMNS_V2">
<collection element-type="MFieldSchema"/>
- <foreign-key name="COLUMNS_V2_FK" delete-action="cascade"/>
Review comment:
```
If a foreign-key is specified (in MetaData) for the relation field then
leave any deletion to the datastore to perform
```
I don't see any such relationship cascading relationship defined in the
schema for Derby or MySQL, so DN should be doing it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 453599)
Time Spent: 1h (was: 50m)
> Upgrade DataNucleus dependency to 5.2
> -------------------------------------
>
> Key: HIVE-23363
> URL: https://issues.apache.org/jira/browse/HIVE-23363
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 4.0.0
> Reporter: Zoltan Chovan
> Assignee: Zoltan Chovan
> Priority: Critical
> Labels: pull-request-available
> Attachments: HIVE-23363.2.patch, HIVE-23363.patch
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Upgrade Datanucleus from 4.2 to 5.2 as based on it's docs 4.2 has been
> retired:
> [http://www.datanucleus.org/documentation/products.html]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)