use of org.apache.hudi.utilities.schema.SparkAvroPostProcessor in project hudi by apache.
the class TestSchemaPostProcessor method testSparkAvroSchema.
@Test
public void testSparkAvroSchema() throws IOException {
SparkAvroPostProcessor processor = new SparkAvroPostProcessor(properties, null);
Schema schema = new Schema.Parser().parse(ORIGINAL_SCHEMA);
assertEquals(processor.processSchema(schema).toString(), RESULT_SCHEMA);
}
Aggregations