Part of these changes made all of parquet work, I tried changing a few things and I broke it, reverting changes and going to incrementally add them back.
Fixed reading of parquet using optimized buffers.