You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2016/04/09 07:27:25 UTC

[jira] [Comment Edited] (SENTRY-1190) IMPORT TABLE silently fails if Sentry is enabled

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

Hao Hao edited comment on SENTRY-1190 at 4/9/16 5:26 AM:
---------------------------------------------------------

[~sircodesalot] I assigned the Jira to you as you already provided the patch. Please feel free to change it if you think otherwise. Thanks!


was (Author: hahao):
[~sircodesalot] I assigned the Jira to you as you already provided the patch. Please feel free to change it if you think otherwise.

> IMPORT TABLE silently fails if Sentry is enabled
> ------------------------------------------------
>
>                 Key: SENTRY-1190
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1190
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Reuben Kuhnert
>            Assignee: Reuben Kuhnert
>         Attachments: SENTRY-1190.01.patch, SENTRY-1190.02.patch
>
>
> When sentry is enabled, import table fails to copy table contents from staging area into warehouse.
> To reproduce:
> {code}
> drop table if exists testtable1;
> drop table if exists imported_testtable1;
> set hive.exec.dynamic.partition.mode=nonstrict;
> create table testtable1(
> field1 string,
> field2 string,
> field3 string,
> field4 double,
> field5 timestamp,
> field6 int)
> partitioned by(part1 string, part2 int)
> clustered by (field1) into 2 buckets
> stored as parquet;
> insert into table testtable1 partition(part1, part2) values
> ("test1", "test1", "2016-01-01", 1.11, "2016-01-01 00:00:00", 1, "part1", 1),
> ("test2", "test2", "2016-02-02", 2.22, "2016-02-02 01:00:00", 2, "part2", 2),
> ("test3", "test3", "2016-03-03", 3.33, "2016-03-03 03:00:00", 3, "part3", 3),
> ("test4", "test4", "2016-04-04", 4.44, "2016-04-04 04:00:00", 4, "part4", 4),
> ("test5", "test5", "2016-05-05", 5.55, "2016-05-05 05:00:00", 5, "part5", 5);
> select * from testtable1;
> export table testtable1 to '/user/test/testtable1export';
> import table imported_testtable1 from '/user/test/testtable1export';
> select * from imported_testtable1;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)