hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19981) Managed tables converted to external tables by the HiveStrictManagedMigration utility should be set to delete data when the table is dropped
Date Wed, 27 Jun 2018 11:42:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-19981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524947#comment-16524947
] 

Hive QA commented on HIVE-19981:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12929120/HIVE-19981.1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 14610 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/12183/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12183/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12183/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12929120 - PreCommit-HIVE-Build

> Managed tables converted to external tables by the HiveStrictManagedMigration utility
should be set to delete data when the table is dropped
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-19981
>                 URL: https://issues.apache.org/jira/browse/HIVE-19981
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>            Priority: Major
>         Attachments: HIVE-19981.1.patch
>
>
> Using the HiveStrictManagedMigration utility, tables can be converted to conform to the
Hive strict managed tables mode.
> For managed tables that are converted to external tables by the utility, these tables
should keep the "drop data on delete" semantics they had when they were managed tables.
> One way to do this is to introduce a table property "external.table.purge", which if
true (and if the table is an external table), will let Hive know to delete the table data
when the table is dropped. This property will be set by the HiveStrictManagedMigration utility
when managed tables are converted to external tables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message