Fix for 12802: Hive fails with EOFException if there is an empty RCFile in the partition