Review Board 1.7.22


HIVE-5199-Custom SerDe containing a nonSettable complex data type row object inspector throws cast exception with HIVE 0.11

Review Request #14008 - Created Sept. 6, 2013 and updated

Hari Sankar Sivarama Subramaniyan
hive-0.11
HIVE-5199
Reviewers
hive
ashutoshc, thejas
hive
The detailed description of the issue is mentioned in apache jira.
Added unit test ql/src/test/queries/clientpositive/partition_wise_fileformat17.q
Tests done with partition_wise_fileformat*.q
http://svn.apache.org/repos/asf/hive/trunk/build-common.xml
Revision 1520717 New Change
[20] 328 lines
[+20]
329
    <delete file="${test.build.dir}/test-udfs.jar"/>
329
    <delete file="${test.build.dir}/test-udfs.jar"/>
330
    <jar jarfile="${test.build.dir}/test-udfs.jar">
330
    <jar jarfile="${test.build.dir}/test-udfs.jar">
331
        <fileset dir="${test.build.classes}" includes="**/udf/*.class"/>
331
        <fileset dir="${test.build.classes}" includes="**/udf/*.class"/>
332
        <fileset dir="${test.build.classes}" includes="**/udf/generic/*.class"/>
332
        <fileset dir="${test.build.classes}" includes="**/udf/generic/*.class"/>
333
    </jar>
333
    </jar>

    
   
334
    <delete file="${test.build.dir}/test-serdes.jar"/>

    
   
335
    <jar jarfile="${test.build.dir}/test-serdes.jar">

    
   
336
        <fileset dir="${test.build.classes}" includes="**/serde2/*.class"/>

    
   
337
    </jar>  	
334
  </target>
338
  </target>
335

    
   
339

   
336
  <target name="test-conditions">
340
  <target name="test-conditions">
337
    <echo message="Project: ${ant.project.name}"/>
341
    <echo message="Project: ${ant.project.name}"/>
338
    <condition property="qfile" value="">
342
    <condition property="qfile" value="">
[+20] [20] 230 lines
http://svn.apache.org/repos/asf/hive/trunk/data/files/pw17.txt
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java
Revision 1520717 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java
Revision 1520717 New Change
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableListObjectInspector1.java
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat17.q
New File
 
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat17.q.out
New File
 
http://svn.apache.org/repos/asf/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java
Revision 1520717 New Change
 
  1. http://svn.apache.org/repos/asf/hive/trunk/build-common.xml: Loading...
  2. http://svn.apache.org/repos/asf/hive/trunk/data/files/pw17.txt: Loading...
  3. http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FetchOperator.java: Loading...
  4. http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/MapOperator.java: Loading...
  5. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableListObjectInspector1.java: Loading...
  6. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomNonSettableStructObjectInspector1.java: Loading...
  7. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe1.java: Loading...
  8. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/serde2/CustomSerDe2.java: Loading...
  9. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientpositive/partition_wise_fileformat17.q: Loading...
  10. http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/partition_wise_fileformat17.q.out: Loading...
  11. http://svn.apache.org/repos/asf/hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java: Loading...