From f7c5c8d1e254ff04ce38adb805cca5dd8a4b0da7 Mon Sep 17 00:00:00 2001 From: Ashutosh Chauhan Date: Mon, 2 Nov 2015 17:00:24 -0800 Subject: [PATCH] HIVE-12320 : hive.metastore.disallow.incompatible.col.type.changes should be true by default --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 3ab73ad..98f9206 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -637,7 +637,7 @@ public void setSparkConfigUpdated(boolean isSparkConfigUpdated) { "as nulls, so we should set this parameter if we wish to reverse that behaviour. For others, " + "pruning is the correct behaviour"), METASTORE_DISALLOW_INCOMPATIBLE_COL_TYPE_CHANGES( - "hive.metastore.disallow.incompatible.col.type.changes", false, + "hive.metastore.disallow.incompatible.col.type.changes", true, "If true (default is false), ALTER TABLE operations which change the type of a\n" + "column (say STRING) to an incompatible type (say MAP) are disallowed.\n" + "RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that the\n" + -- 1.7.12.4 (Apple Git-37)