blob: 1681134d7def64b7ac3a9b48198348b772322cbe [file] [log] [blame]
--! qt:authorizer
dfs ${system:test.dfs.mkdir} ${system:test.tmp.dir}/hive-12875-export/temp;
dfs -rmr ${system:test.tmp.dir}/hive-12875-export;
dfs ${system:test.dfs.mkdir} ${system:test.tmp.dir}/hive-12875-export/;
-- check export on partition
create table auth_export_ptn(i int) partitioned by (j int);
alter table auth_export_ptn add partition (j=42);
set user.name=user1;
export table auth_export_ptn partition (j=42) to 'pfile://${system:test.tmp.dir}/hive-12875-export';