-
Deprecated Enums
-
Deprecated MethodsMethodDescriptionThis method has been deprecated as part of FLIP-164.
TableSchemahas been replaced by two more dedicated classesSchemaandResolvedSchema. UseSchemafor declaration in APIs.ResolvedSchemais offered by the framework after resolution and validation.Will be removed in the next releaseUseTableEnvironment.createCatalog(String, CatalogDescriptor)instead. The new method uses aCatalogDescriptorto initialize the catalog instance and store theCatalogDescriptorto theCatalogStore.UseTableEnvironment.createTemporarySystemFunction(String, UserDefinedFunction)instead. Please note that the new method also uses the new type system and reflective extraction logic. It might be necessary to update the function implementation as well. See the documentation ofScalarFunctionfor more information on the new function design.useSupportsTargetColumnWritinginstead.This method uses the old type system and is based on the old reflective extraction logic. The method will be removed in future versions and is only called when using the deprecatedTableEnvironment.registerFunction(...)method. The new reflective extraction logic (possibly enriched withDataTypeHintandFunctionHint) should be powerful enough to cover most use cases. For advanced users, it is possible to overrideUserDefinedFunction.getTypeInference(DataTypeFactory).This method uses the old type system and is based on the old reflective extraction logic. The method will be removed in future versions and is only called when using the deprecatedTableEnvironment.registerFunction(...)method. The new reflective extraction logic (possibly enriched withDataTypeHintandFunctionHint) should be powerful enough to cover most use cases. For advanced users, it is possible to overrideUserDefinedFunction.getTypeInference(DataTypeFactory).This method uses the old type system and is based on the old reflective extraction logic. The method will be removed in future versions and is only called when using the deprecatedTableEnvironment.registerFunction(...)method. The new reflective extraction logic (possibly enriched withDataTypeHintandFunctionHint) should be powerful enough to cover most use cases. For advanced users, it is possible to overrideUserDefinedFunction.getTypeInference(DataTypeFactory).This method uses the old type system and is based on the old reflective extraction logic. The method will be removed in future versions and is only called when using the deprecatedTableEnvironment.registerFunction(...)method. The new reflective extraction logic (possibly enriched withDataTypeHintandFunctionHint) should be powerful enough to cover most use cases. For advanced users, it is possible to overrideUserDefinedFunction.getTypeInference(DataTypeFactory).UseTypeInference.Builder.staticArguments(List)instead.UseTypeInference.Builder.staticArguments(List)instead.UseTypeInference.Builder.staticArguments(List)instead.UseTypeInference.getStateTypeStrategies()instead.UseTypeInference.getStaticArguments()instead.UseTypeInference.getStaticArguments()instead.UseTypeInference.getStaticArguments()instead.
Expressions.nullOf(DataType)instead which uses the new type system based onDataTypes. Please make sure to use either the old or the new type system consistently to avoid unintended behavior. See the website documentation for more information.