More Hive support

Add support for more partition key types and values.
Add support for writing more types.