You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/06/28 02:59:50 UTC
[jira] Created: (HIVE-1442) HOLD_DDLTIME does not change partition
metadata
HOLD_DDLTIME does not change partition metadata
-----------------------------------------------
Key: HIVE-1442
URL: https://issues.apache.org/jira/browse/HIVE-1442
Project: Hadoop Hive
Issue Type: Bug
Components: Query Processor
Reporter: Namit Jain
Assignee: He Yongqiang
create table T1 (key string, value string) partitioned by(ds string) stored as sequencefile;
desc extended T1;
insert overwrite table T1 partition (ds='1') select key, value from src;
insert overwrite table T1 partition (ds='2') select key, value from src;
desc extended T1 partition (ds='1');
desc extended T1 partition (ds='2');
alter table T1 set fileformat rcfile;
insert overwrite table T1 partition (ds='1')
select /*+ HOLD_DDLTIME*/ key, value from src;
insert overwrite table T1 partition (ds='2')
select key, value from src;
desc extended T1 partition (ds='1');
desc extended T1 partition (ds='2');
drop table T1;
T1/ds=1 is left as sequencefile and corrupted after the insert as HOLD_DDLTIME
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-1442) HOLD_DDLTIME does not change partition
metadata
Posted by "John Sichi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Sichi updated HIVE-1442:
-----------------------------
Fix Version/s: 0.7.0
Affects Version/s: 0.6.0
> HOLD_DDLTIME does not change partition metadata
> -----------------------------------------------
>
> Key: HIVE-1442
> URL: https://issues.apache.org/jira/browse/HIVE-1442
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.7.0
> Reporter: Namit Jain
> Assignee: He Yongqiang
> Fix For: 0.7.0
>
>
> create table T1 (key string, value string) partitioned by(ds string) stored as sequencefile;
> desc extended T1;
> insert overwrite table T1 partition (ds='1') select key, value from src;
> insert overwrite table T1 partition (ds='2') select key, value from src;
> desc extended T1 partition (ds='1');
> desc extended T1 partition (ds='2');
> alter table T1 set fileformat rcfile;
> insert overwrite table T1 partition (ds='1')
> select /*+ HOLD_DDLTIME*/ key, value from src;
> insert overwrite table T1 partition (ds='2')
> select key, value from src;
> desc extended T1 partition (ds='1');
> desc extended T1 partition (ds='2');
> drop table T1;
> T1/ds=1 is left as sequencefile and corrupted after the insert as HOLD_DDLTIME
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-1442) HOLD_DDLTIME does not change partition
metadata
Posted by "John Sichi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Sichi updated HIVE-1442:
-----------------------------
Affects Version/s: 0.7.0
(was: 0.6.0)
> HOLD_DDLTIME does not change partition metadata
> -----------------------------------------------
>
> Key: HIVE-1442
> URL: https://issues.apache.org/jira/browse/HIVE-1442
> Project: Hadoop Hive
> Issue Type: Bug
> Components: Query Processor
> Affects Versions: 0.7.0
> Reporter: Namit Jain
> Assignee: He Yongqiang
> Fix For: 0.7.0
>
>
> create table T1 (key string, value string) partitioned by(ds string) stored as sequencefile;
> desc extended T1;
> insert overwrite table T1 partition (ds='1') select key, value from src;
> insert overwrite table T1 partition (ds='2') select key, value from src;
> desc extended T1 partition (ds='1');
> desc extended T1 partition (ds='2');
> alter table T1 set fileformat rcfile;
> insert overwrite table T1 partition (ds='1')
> select /*+ HOLD_DDLTIME*/ key, value from src;
> insert overwrite table T1 partition (ds='2')
> select key, value from src;
> desc extended T1 partition (ds='1');
> desc extended T1 partition (ds='2');
> drop table T1;
> T1/ds=1 is left as sequencefile and corrupted after the insert as HOLD_DDLTIME
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.