hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zs...@apache.org
Subject svn commit: r805647 - in /hadoop/hive/branches/branch-0.4: CHANGES.txt ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
Date Wed, 19 Aug 2009 02:05:21 GMT
Author: zshao
Date: Wed Aug 19 02:05:21 2009
New Revision: 805647

URL: http://svn.apache.org/viewvc?rev=805647&view=rev
Log:
HIVE-772. Fix genConversionSelect for init serde with null. (Namit Jain via zshao)

Modified:
    hadoop/hive/branches/branch-0.4/CHANGES.txt
    hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java

Modified: hadoop/hive/branches/branch-0.4/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.4/CHANGES.txt?rev=805647&r1=805646&r2=805647&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.4/CHANGES.txt (original)
+++ hadoop/hive/branches/branch-0.4/CHANGES.txt Wed Aug 19 02:05:21 2009
@@ -509,6 +509,9 @@
 
     HIVE-734. fix nulls insertion problem. (Ning Zhang via via namit)
 
+    HIVE-772. Fix genConversionSelect for init serde with null.
+    (Namit Jain via zshao)
+
 Release 0.3.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
URL: http://svn.apache.org/viewvc/hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java?rev=805647&r1=805646&r2=805647&view=diff
==============================================================================
--- hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
(original)
+++ hadoop/hive/branches/branch-0.4/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
Wed Aug 19 02:05:21 2009
@@ -2727,7 +2727,7 @@
     StructObjectInspector oi = null;
     try {
       Deserializer deserializer = table_desc.getDeserializerClass().newInstance();
-      deserializer.initialize(null, table_desc.getProperties());
+      deserializer.initialize(conf, table_desc.getProperties());
       oi = (StructObjectInspector) deserializer.getObjectInspector();
     } catch (Exception e) {
       throw new SemanticException(e);



Mime
View raw message