Month: <span>January 2016</span>

Month: January 2016

UNION ALL returns zero record with aggregate functions in SELECT statement

This article explains how to solve the issue that UNION ALL returns zero record with aggregate functions in SELECT statement The following is the test case: UNION ALL without COUNT function will work as expected: Run the same query without setting hive.mapred.supports.subdirectories and hive.optimize.union.remove to true will give correct result: …

Loading

How to use “filters” to exclude files when in DistCp

This article explains how to use the new feature supported in Apache Hadoop 2.6.0 to filter out the files that don’t need to be DistCp-ed. Hadoop 2.8.0 added support to filter out certain files that match certain regular expressions, so that they won’t be copied to destination when DistCp command …

Loading

My new Snowflake Blog is now live. I will not be updating this blog anymore but will continue with new contents in the Snowflake world!