### Eclipse Workspace Patch 1.0 #P open src hive code Index: ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java =================================================================== --- ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java (revision 1214129) +++ ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java (working copy) @@ -2023,6 +2023,8 @@ FileSystem fs = resFile.getFileSystem(conf); outStream = fs.create(resFile); SortedSet sortedFuncs = new TreeSet(funcs); + // To remove the primitive types + sortedFuncs.removeAll(Constants.PrimitiveTypes); Iterator iterFuncs = sortedFuncs.iterator(); while (iterFuncs.hasNext()) { Index: ql/src/test/results/clientpositive/show_functions.q.out =================================================================== --- ql/src/test/results/clientpositive/show_functions.q.out (revision 1214129) +++ ql/src/test/results/clientpositive/show_functions.q.out (working copy) @@ -28,10 +28,7 @@ assert_true atan avg -bigint bin -binary -boolean case ceil ceiling @@ -54,7 +51,6 @@ dayofmonth degrees div -double e elt ewah_bitmap @@ -65,7 +61,6 @@ explode field find_in_set -float floor from_unixtime from_utc_timestamp @@ -79,7 +74,6 @@ in_file index instr -int isnotnull isnull json_tuple @@ -132,7 +126,6 @@ sign sin size -smallint space split sqrt @@ -142,14 +135,11 @@ stddev_pop stddev_samp str_to_map -string struct substr substring sum tan -timestamp -tinyint to_date to_utc_timestamp trim @@ -201,7 +191,6 @@ assert_true case coalesce -double e explode from_unixtime