Upgrade to airlift tpch 0.4-SNAPSHOT
Check unsafe casts in orc readers
Categorize orc corruption exceptions in Hive connector
Change DATE memory representation to be days

DATE is now stored as a 32-bit number of days since 1970-01-01
Refactor OrcStorageManager
Move mapping of symbol to channel to execution layer

This was incorrectly being done in the planning layer, which
only deals with logical entities.
Remove CodeCache workaround

This is no longer an issue in Java 8
Switch to Docker based Travis builds

This should give us 4GB of memory instead of 3GB and also more CPU
resources
Fix comparison of types in analysis of UNION
Fix TpchColumnHandle.equals() to compare types correctly
Fix comparison of types in AggregationCompiler
Add CLI program to benchmark a Presto cluster
Include both sources in IndexNode sources list

getSources() is meant to return all subplans of a given node as it's
used for various plan-walking activities.
Implement PlanRewriter as a regular visitor

The rewriter interface abstraction is unnecessary.
Replace inner classes with lambdas
Isolate beginCreate/beginInsert plan rewriting logic

It's currently embedded in DistributedLogicalPlanner. This commit
moves it to a separate optimizer in preparation for making the distributed
planner just another optimizer, too.

The current implementation is a big hack that we need to fix eventually.
This logic should be invoked on query start, not during planning. At
that point, the token returned by beginCreate/beginInsert should be
handed down to tasks in a mapping separate from the plan that links
plan nodes to the corresponding token.
Allow internal plugins to register parametric types
Fix output type of learn_regressor() function
Make Classifier a parametric type
Add support for string labels to ML plugin