Thrift schema with reordered fields

Hi all,

after we reordered the fields in our .thrift schema file we experienced pretty strange behaviour of ThriftParquetWriter. After some investigation it seems like ParquetWriteProtocol relies on the fact that the order in which the fields are written by the StandardScheme is the same as the child field order in the StructType derived from the thrift class. In the current implementation this is only true, if the fields in the .thrift schema file are ordered by their field id.