DataType is richer than
TypeInformation as it also includes details about the
LogicalType. Therefore, some details will be added implicitly during the conversion. The
TypeInformation is provided by the planner.
The behavior of this converter can be summarized as follows:
TypeInformationare mapped to
LogicalTypeincluding nullability that is aligned with serializers.
TupleTypeInfoBaseis translated into
BigDecimalis converted to
DECIMAL(38, 18)by default.
PojoTypeInfofields is determined by the converter.
GenericTypeInfoand other type information that cannot be mapped to a logical type is converted to
RawTypeby considering the current configuration.
TypeInformationthat originated from Table API will keep its
DataTypeinformation when implementing
|Constructor and Description|
|Modifier and Type||Method and Description|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.