@@ -77,7 +77,7 @@ public class TestAvroDecoder
7777 private static final AvroRowDecoderFactory DECODER_FACTORY = new AvroRowDecoderFactory ();
7878
7979 private static final Metadata METADATA = createTestMetadataManager ();
80- private static final Type VACHAR_MAP_TYPE = METADATA .getType (mapType (VARCHAR .getTypeSignature (), VARCHAR .getTypeSignature ()));
80+ private static final Type VARCHAR_MAP_TYPE = METADATA .getType (mapType (VARCHAR .getTypeSignature (), VARCHAR .getTypeSignature ()));
8181 private static final Type DOUBLE_MAP_TYPE = METADATA .getType (mapType (VARCHAR .getTypeSignature (), DOUBLE .getTypeSignature ()));
8282 private static final Type REAL_MAP_TYPE = METADATA .getType (mapType (VARCHAR .getTypeSignature (), REAL .getTypeSignature ()));
8383
@@ -444,7 +444,7 @@ public void testArrayWithNulls()
444444 public void testMapDecodedAsMap ()
445445 throws Exception
446446 {
447- DecoderTestColumnHandle row = new DecoderTestColumnHandle (0 , "row" , VACHAR_MAP_TYPE , "map_field" , null , null , false , false , false );
447+ DecoderTestColumnHandle row = new DecoderTestColumnHandle (0 , "row" , VARCHAR_MAP_TYPE , "map_field" , null , null , false , false , false );
448448
449449 Map <DecoderColumnHandle , FieldValueProvider > decodedRow = buildAndDecodeColumn (row , "map_field" , "{\" type\" : \" map\" , \" values\" : \" string\" }" , ImmutableMap .of (
450450 "key1" , "abc" ,
@@ -460,7 +460,7 @@ public void testMapDecodedAsMap()
460460 public void testMapWithNull ()
461461 throws Exception
462462 {
463- DecoderTestColumnHandle row = new DecoderTestColumnHandle (0 , "row" , VACHAR_MAP_TYPE , "map_field" , null , null , false , false , false );
463+ DecoderTestColumnHandle row = new DecoderTestColumnHandle (0 , "row" , VARCHAR_MAP_TYPE , "map_field" , null , null , false , false , false );
464464
465465 Map <String , String > expectedValues = new HashMap <>();
466466 expectedValues .put ("key1" , null );
@@ -540,7 +540,7 @@ public void testSupportedDataTypeValidation()
540540 singleColumnDecoder (createUnboundedVarcharType ());
541541 singleColumnDecoder (createVarcharType (100 ));
542542 singleColumnDecoder (new ArrayType (BigintType .BIGINT ));
543- singleColumnDecoder (VACHAR_MAP_TYPE );
543+ singleColumnDecoder (VARCHAR_MAP_TYPE );
544544 singleColumnDecoder (DOUBLE_MAP_TYPE );
545545
546546 // some unsupported types
0 commit comments