Github user fhueske commented on a diff in the pull request:
    --- Diff: 
    @@ -79,14 +83,27 @@ class FlinkTypeFactory(typeSystem: RelDataTypeSystem) 
extends JavaTypeFactoryImp
       private def createAdvancedType(typeInfo: TypeInformation[_]): 
RelDataType = typeInfo match {
    -    // TODO add specific RelDataTypes
    -    // for PrimitiveArrayTypeInfo, ObjectArrayTypeInfo, CompositeType
    +    case ct: CompositeType[_] =>
    +      new CompositeRelDataType(ct, this)
    +    // TODO add specific RelDataTypes for PrimitiveArrayTypeInfo, 
         case ti: TypeInformation[_] =>
           new GenericRelDataType(typeInfo, 
         case ti@_ =>
           throw TableException(s"Unsupported type information: $ti")
    +  override def createTypeWithNullability(
    +      relDataType: RelDataType,
    +      nullable: Boolean)
    +    : RelDataType = relDataType match {
    +    case composite: CompositeRelDataType =>
    +      // at the moment we do not care about nullability
    --- End diff --
    Can you explain what nullability is and why it is not important here?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to