public class LogicalMap
extends org.apache.avro.LogicalType
LogicalType
for map.
Modified from Iceberg.
NOTE: We don't register this type into Avro's LogicalTypes
, because
Iceberg will register a logical type with the same name, and we don't want to conflict with
Iceberg. This class is only for our avro's format to be compatible with Iceberg's avro format. We
use Paimon's DataType
to check if an array field is actually a
map.
Modifier and Type | Method and Description |
---|---|
void |
validate(org.apache.avro.Schema schema) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.