Tablepartition branch 0.8

Add support for categorical vars and primitive access (asDouble) to ByteBuffer