[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-14 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552523#comment-13552523
 ] 

Ashutosh Chauhan commented on HIVE-3824:


Cool. Please go ahead for commit.

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3824.1.patch, hive.3824.3.patch, hive.3824.4.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552579#comment-13552579
 ] 

Hudson commented on HIVE-3824:
--

Integrated in hive-trunk-hadoop1 #12 (See 
[https://builds.apache.org/job/hive-trunk-hadoop1/12/])
HIVE-3824 bug if different serdes are used for different partitions
(Namit Jain via Ashutosh and namit) (Revision 1432865)

 Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1432865
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveFileFormatUtils.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat8.q
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat9.q
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat8.q.out
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat9.q.out


 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.11.0

 Attachments: hive.3824.1.patch, hive.3824.3.patch, hive.3824.4.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552580#comment-13552580
 ] 

Hudson commented on HIVE-3824:
--

Integrated in Hive-trunk-h0.21 #1911 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1911/])
HIVE-3824 bug if different serdes are used for different partitions
(Namit Jain via Ashutosh and namit) (Revision 1432865)

 Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1432865
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveFileFormatUtils.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat8.q
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat9.q
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat8.q.out
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat9.q.out


 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.11.0

 Attachments: hive.3824.1.patch, hive.3824.3.patch, hive.3824.4.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-14 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13553178#comment-13553178
 ] 

Hudson commented on HIVE-3824:
--

Integrated in Hive-trunk-hadoop2 #64 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/64/])
HIVE-3824 bug if different serdes are used for different partitions
(Namit Jain via Ashutosh and namit) (Revision 1432865)

 Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1432865
Files : 
* 
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/CombineHiveInputFormat.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/io/HiveFileFormatUtils.java
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat8.q
* /hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat9.q
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat8.q.out
* 
/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat9.q.out


 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Fix For: 0.11.0

 Attachments: hive.3824.1.patch, hive.3824.3.patch, hive.3824.4.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-13 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552228#comment-13552228
 ] 

Namit Jain commented on HIVE-3824:
--

will refresh and run tests.

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3824.1.patch, hive.3824.3.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-13 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552406#comment-13552406
 ] 

Namit Jain commented on HIVE-3824:
--

Nothing, just the test output.
Due to https://issues.apache.org/jira/browse/HIVE-3803, the test output changed.

The tests passed.
[~ashutoshc], should I commit this ?

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3824.1.patch, hive.3824.3.patch, hive.3824.4.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-11 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13551479#comment-13551479
 ] 

Ashutosh Chauhan commented on HIVE-3824:


Namit, Feel free to commit this if tests pass.

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3824.1.patch, hive.3824.3.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2013-01-10 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13550871#comment-13550871
 ] 

Ashutosh Chauhan commented on HIVE-3824:


+1

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3824.1.patch, hive.3824.3.patch


 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-3824) bug if different serdes are used for different partitions

2012-12-20 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13536916#comment-13536916
 ] 

Namit Jain commented on HIVE-3824:
--

https://reviews.facebook.net/D7515

 bug if different serdes are used for different partitions
 -

 Key: HIVE-3824
 URL: https://issues.apache.org/jira/browse/HIVE-3824
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Namit Jain

 Consider the following testcase:
 create table tst5 (key string, value string) partitioned by (ds string) 
 stored as rcfile;
 insert overwrite table tst5 partition (ds='1') select * from src;
 insert overwrite table tst5 partition (ds='2') select * from src;
 insert overwrite table tst5 partition (ds='3') select * from src;
 alter table tst5 stored as sequencefile; 
 insert overwrite table tst5 partition (ds='4') select * from src;
 insert overwrite table tst5 partition (ds='5') select * from src;
 insert overwrite table tst5 partition (ds='6') select * from src;  
 alter table tst5 set serde 
 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'; 
 insert overwrite table tst5 partition (ds='7') select * from src;
 insert overwrite table tst5 partition (ds='8') select * from src;
 insert overwrite table tst5 partition (ds='9') select * from src;  
 The following query works fine:
  select key + key, value from tst5 where ((ds = '4') or (ds = '1'));   
 since both the partitions use ColumnarSerDe
 But the following query fails:
 select key + key, value from tst5 where ((ds = '4') or (ds = '1') or 
 (ds='7'));
 since different serdes are used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira