hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jd...@apache.org
Subject svn commit: r1633982 - /hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java
Date Fri, 24 Oct 2014 00:12:21 GMT
Author: jdere
Date: Fri Oct 24 00:12:20 2014
New Revision: 1633982

URL: http://svn.apache.org/r1633982
Log:
HIVE-8560: SerDes that do not inherit AbstractSerDe do not get table properties during initialize()
(Jason Dere, reviewed by Xuefu Zhang)

Modified:
    hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java

Modified: hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java?rev=1633982&r1=1633981&r2=1633982&view=diff
==============================================================================
--- hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java
(original)
+++ hive/branches/branch-0.14/serde/src/java/org/apache/hadoop/hive/serde2/SerDeUtils.java
Fri Oct 24 00:12:20 2014
@@ -497,7 +497,8 @@ public final class SerDeUtils {
    * @return the overlayed properties
    */
   public static Properties createOverlayedProperties(Properties tblProps, Properties partProps)
{
-    Properties props = new Properties(tblProps);
+    Properties props = new Properties();
+    props.putAll(tblProps);
     if (partProps != null) {
       props.putAll(partProps);
     }



Mime
View raw message