Same as ScroogeRecordConverter with one important (subtle) difference.
Same as ScroogeRecordConverter with one important (subtle) difference.
It passes a repaired schema (StructType) to ThriftRecordConverter's
constructor. This is important because older files don't contain all the metadata needed for
ThriftSchemaConverter to not throw, but we can put dummy data in there because it's not actually
used.
Same as ScroogeRecordConverter with one important (subtle) difference. It passes a repaired schema (StructType) to ThriftRecordConverter's constructor. This is important because older files don't contain all the metadata needed for ThriftSchemaConverter to not throw, but we can put dummy data in there because it's not actually used.