fix ValueStat max value
Merge pull request #67 from svzdvd/master

ValueStat max value
Start implementation parquet for hive :

 - Read simple data (INT32, INT64, DOUBLE, FLOAT, BOOLEAN, BINARY -String)
 - Write simple data (INT32, INT64, FLOAT, DOUBLE, BOOLEAN, BINARY -String)
 - Read data works only if HiveInputFormat is set (not CombineHive)

TODO :

 - Support complex type (struct, map, array)
 - Support CombineHive
 - Unit test :)
Remove any K,V from DeprecatedXXFormat
Add support for CombineHiveInputFormat

- This recreates the input splits by reading each file's metadata
- This is slower than being able to get our InputSplits directly,
but still faster than calling getSplits over and over again
Improve column reading

 - Trying to only read the right column (work in progress)
Can write complex types
Can read some complex types

- Structs should be entirely good
- Array and maps do not seem to work correctly
rename one parameter
Some improvements on the hive implementation :

 - start to read complex type (struct done !, other in progress)
 - start to write complex type (struct done !, other maybe done :) )
 - try to give only the requested schema to parquet objects but
we have some troubles with the way readsupport object is initialized. Trying few
work around with hive to force the jobConf to be updated (like they do for
RCFile in HiveInputFormat). Not working when getSplits is called because
we have no path (in progress).

Unit test :

 - Just a start only one very very tiny small is working to test hiveschemaconverter
 - working on the SerDe testing (trying to create a parquet file first in unit test)

The code is not clean, neither optimize. 'Make it work, Make it right, Make it fast'
only on the first step :p
Indentation : retab to 2 spaces. Nothing else.
Give selected columns to ParquetInputFormat : Done

 - no more hack
 - works with HiveInputFormat and HiveCombine
Add equals and hashcode methods to BinaryWritable
Implement a basic version of the SerDeStats object for ParquetHiveSerDe
Fix Short object for Hive (use short for short instead of byte :))
Add a simple unit test for ParquetSerDe
Add some unit test in order to test :

 - HiveSerDe : fix some bugs about long and byte datas
 - DeprecatedParquetInputFormat : add StatsSerDe method
 - MapWritableWriter : fix bug if we start and close without adding values
 - UtilitiesTestMethods : almost everything is from parquet-pig. Very useful
 - TestDeprecated{Input,Output}Format : in order to test the hive stuff

Update pom.xml :

 - Hive-* 0.10 version
 - Add column for test purpose
Improve the pull request following advices from Julien
Add full support for array and map reading
Add unit test for storage