Fix a bug in the commit for HIVE-2416.

This bug causes an exception in reduce_deduplicate_extended.q.
Make HIVE ClientPositive test pass.
Merge pull request #39 from sun-rui/shark-0.11

Shark 0.11
SHARK-203 : Make orc_diff_part_cols unit test pass
HIVE-4322: SkewedInfo in Metastore Thrift API cannot be deserialized in Python (Samuel Yuan via Gang Tim Liu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1467491 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4051 : Hive's metastore suffers from 1+N queries when querying partitions & is slow (Sergey Shelukhin via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1511177 13f79535-47bb-0310-9956-ffa450edef68

Conflicts:

	common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
	metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java
HIVE-4516 : Fix concurrency bug in serde/src/java/org/apache/hadoop/hive/serde2/io/TimestampWritable.java (Jon Hartlaub and Navis via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1489673 13f79535-47bb-0310-9956-ffa450edef68
HIVE-5364 : NPE on some queries from partitioned orc table (Owen O'Malley via Gunther Hagleitner)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/branch-0.12@1529098 13f79535-47bb-0310-9956-ffa450edef68
Fixed problem with exceptions in Postgres
Enable MapJoin Hint for Shark
Temporary solution for NullWritable handling
Corrected HIVE-2416, Multiple distinct function to support hive.groupby.skewindata optimization
HIVE-4935 : Potential NPE in MetadataOnlyOptimizer (Yin Huai via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1507342 13f79535-47bb-0310-9956-ffa450edef68
HIVE-4521 Auto join conversion fails in certain cases (Gunther Hagleitner via omalley)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1484623 13f79535-47bb-0310-9956-ffa450edef68
Rebased HIVE-4221, Stripe-level merge for ORC files
Fixed Hive org.postgresql.util.PSQLException: ERROR: missing FROM-clause entry for table "partitions"
Rebased HIVE-5149 ReduceSinkDeDuplication can pick the wrong partitioning columns
HIVE-4873 Sort candidate functions in case of UDFArgumentException (Xuefu Zhang via egc)

Submitted by:	Xuefu Zhang
Reviewed by:	Edward Capriolo

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1504361 13f79535-47bb-0310-9956-ffa450edef68
Fixed eclipse template
Refactor TestRCFile.java in order to fix tests failures (based on fix for HIVE-4113).