Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionsince 1.11.0, will be removed in 1.12.0; use
RemoteSignRequestinstead.since 1.11.0, will be removed in 1.12.0; useRemoteSignResponseinstead.the API will be removed in v2.0.0 (replaced with KeyManagementClient interface).will be removed in 2.0.0since 1.10.0, will be removed in 2.0.0will be removed in 2.0.0, useCounterinstead.
-
Deprecated ClassesClassDescriptionsince 1.11.0, will be removed in 1.12.0; use
RESTObjectMapperinstead.since 1.11.0, will be removed in 1.12.0; useRemoteSignRequestParserinstead.since 1.11.0, will be removed in 1.12.0; useRemoteSignResponseParserinstead.will be removed in 1.12.0; usePlannedDataReaderinstead.since version 1.11.0 and will be removed in 1.12.0. UseRegistryBasedFileWriterFactorywill be removed in 1.12.0; useGenericFileWriterFactoryinstead.will be removed in 2.0.0Deprecated as of 1.11.0 in favor ofFlinkFileWriterFactory. This class will be removed in the 1.12.0.since 1.7.0, will be removed in 2.0.0. UseIcebergSourceinstead, which implement the newer FLIP-27 source interface. This class implements the oldSourceFunctionthat has been marked as deprecated in Flink since Aug 2023.since 1.7.0. Will be removed in 2.0.0; useIcebergSource.forOutputType(RowDataConverter)andAvroGenericRecordConverterinstead.useParquetWriterwill be removed in 1.12.0. UseinsteadUseSystemConfigsinstead; will be removed in 1.12.0
-
Deprecated FieldsFieldDescriptionsince 1.11.0, will be removed in 1.12.0; use
RESTCatalogProperties.SIGNER_URIinstead.since 1.11.0, will be removed in 1.12.0; useRESTCatalogProperties.SIGNER_URIinstead.since 1.11.0, will be removed in 1.12.0; useBigQueryProperties.GCP_LOCATIONinstead.since 1.11.0, will be removed in 1.12.0; useBigQueryProperties.LIST_ALL_TABLESinstead.since 1.11.0, will be removed in 1.12.0; useBigQueryProperties.PROJECT_IDinstead.will be removed in 1.12.0. UsePartitionStatistics.DATA_FILE_COUNTwill be removed in 1.12.0. UsePartitionStatistics.DATA_RECORD_COUNTwill be removed in 1.12.0. UsePartitionStatistics.DV_COUNTwill be removed in 1.12.0. UsePartitionStatistics.EQUALITY_DELETE_FILE_COUNTwill be removed in 1.12.0. UsePartitionStatistics.EQUALITY_DELETE_RECORD_COUNTwill be removed in 1.12.0. UsePartitionStatistics.LAST_UPDATED_ATwill be removed in 1.12.0. UsePartitionStatistics.LAST_UPDATED_SNAPSHOT_IDwill be removed in 1.12.0. UsePartitionStatistics.EMPTY_PARTITION_FIELDwill be removed in 1.12.0. UsePartitionStatistics.EMPTY_PARTITION_FIELDwill be removed in 1.12.0. UsePartitionStatistics.POSITION_DELETE_FILE_COUNTwill be removed in 1.12.0. UsePartitionStatistics.POSITION_DELETE_RECORD_COUNTwill be removed in 1.12.0. UsePartitionStatistics.SPEC_IDwill be removed in 1.12.0. UsePartitionStatistics.TOTAL_DATA_FILE_SIZE_IN_BYTESwill be removed in 1.12.0. UsePartitionStatistics.TOTAL_RECORD_COUNTwill be removed in 1.12.0. UseRESTCatalogProperties.PAGE_SIZEinstead.since 1.11.0, will be removed in 1.12.0; useRESTUtil.namespaceToQueryParam(Namespace)} instead.since 1.11.0, will be removed in 1.12.0; useRESTUtil.namespaceFromQueryParam(String)instead.will be removed in 1.12.0; use name mapping insteadwill be removed in 1.12.0, writing manifest lists is always enabledwill be removed in 1.12.0, writing manifest lists is always enabledwill be removed in 2.0.0, useTableProperties.WRITE_DATA_LOCATIONinstead.will be removed in 2.0.0, useTableProperties.WRITE_DATA_LOCATIONinstead.UseSystemConfigs.WORKER_THREAD_POOL_SIZEinstead. will be removed in 1.12.0UseIcebergSqlExtensionsLexer.VOCABULARYinstead.UseIcebergSqlExtensionsParser.VOCABULARYinstead.
-
Deprecated MethodsMethodDescriptionwill be removed in 1.12.0; use applyNameMapping and pruneColumns(Schema, Set) instead.Not for public use. To configure the endpoint for a client, please use
S3FileIOProperties.applyEndpointConfigurations(S3BaseClientBuilder),AwsProperties.applyGlueEndpointConfigurations(GlueClientBuilder), orAwsProperties.applyDynamoDbEndpointConfigurations(DynamoDbClientBuilder), orAwsProperties.applyKmsEndpointConfigurations(KmsClientBuilder)accordingly. It will be removed in 2.0.0Not for public use. To configure the httpClient for a client, please useHttpClientProperties.applyHttpClientConfigurations(AwsSyncClientBuilder). It will be removed in 2.0.0Not for public use. To build an S3Configuration object, use S3Configuration.builder() directly. It will be removed in 2.0.0will be removed in 2.0.0. UseCommitter.open(Catalog, IcebergSinkConfig, SinkTaskContext, Collection)instead.will be removed in 2.0.0. UseCommitter.close(Collection)instead.since 1.11.0, will be removed in 1.12.0; usetableReference().identifier()insteadsince 1.11.0, will be removed in 1.12.0; useTableReference.of(String, TableIdentifier, UUID)since 1.7.0, will be removed in 2.0.0; useContentFile.location()instead.This method is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.org.apache.iceberg.data.GenericFileWriterFactory.configureEqualityDelete(Parquet.DeleteWriteBuilder) Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.org.apache.iceberg.data.GenericFileWriterFactory.configurePositionDelete(Parquet.DeleteWriteBuilder) Since 1.11.0, will be removed in 1.12.0. It won't be called starting in 1.11.0 as the configuration is done by theFormatModelRegistry.UseGenericOrcReaders.struct(TypeDescription, List, Types.StructType, Map)instead. This method uses position-based binding which may cause field misalignment in MOR and lineage scenarios.This method is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported.This method is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UsePositionDelete.set(CharSequence, long)instead.will be removed in 1.12.0.will be removed in 1.12.0.since 1.11.0, will be removed in 2.0.0; useExpireSnapshots.cleanupLevel(CleanupLevel)instead.will be removed in 2.0.0; useFlinkSchemaUtil.convert(ResolvedSchema)instead.since 1.10.0, will be removed in 2.0.0. UseFlinkSchemaUtil.convert(Schema, ResolvedSchema)instead.since 1.10.0, will be removed in 2.0.0. UseFlinkSchemaUtil.toResolvedSchema(RowType)insteadsince 1.10.0, will be removed in 2.0.0. UseFlinkSchemaUtil.toResolvedSchema(Schema)insteadwill be removed in 1.12.0. UseRewriteDataFiles.Builder.filter(SerializableSupplier)insteadsince 1.12.0, will be removed in 2.0.0. UseTableMaintenance.forChangeStream(DataStream, TableLoader)instead.since 1.12.0, will be removed in 2.0.0. UseTableMaintenance.forTable(StreamExecutionEnvironment, TableLoader)instead.since 1.10.0, will be removed in 2.0.0. UseFlinkSink.forRow(DataStream, ResolvedSchema)instead.SeerewriteDatafiles(..)UseIcebergSink.forRow(DataStream, ResolvedSchema)instead.since 1.7.0. Will be removed in 2.0.0; useIcebergSource.forRowData()orIcebergSource.forOutputType(RowDataConverter)insteadsince 1.10.0, will be removed in 2.0.0. UseIcebergSource.Builder.project(ResolvedSchema)instead.will be removed in 2.0.0; useIcebergSource.Builder.setAll(java.util.Map<java.lang.String, java.lang.String>)instead.since 1.7.0. Will be removed in 2.0.0; useIcebergSource.forOutputType(RowDataConverter)instead to produce output type other thanRowData.since 1.10.0, will be removed in 2.0.0.since 1.11.0, will be removed in 1.12.0.since 1.7.0, will be removed in 1.12.0; This method does only best-effort invalidation and is susceptible to a race condition. If the caller changed the state that could be cached (perhaps files on the storage) and calls this method, there is no guarantee that the cache will not contain stale entries some time after this method returns.since 1.11.0, will be removed in 1.12.0; useManifestFiles.read(ManifestFile, FileIO, Map)instead. Reading partition specs from manifest file metadata will not be supported for non-Avro manifest formats.since 1.11.0, will be removed in 1.12.0; useManifestFiles.readPaths(ManifestFile, FileIO, Map)instead.will be removed in 2.0.0, useCounterinstead.will be removed in 2.0.0, useMetricsContext.counter(String, Unit)instead.This method is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UseMetricsConfig.forPositionDelete()instead.useMetricsConfig.forTable(Table). Will be removed in 2.0.0will be removed in 2.0.0; useParquet.ReadBuilder.createReaderFunc(Function)insteadwill be removed in 2.0.0; useParquet.ReadBuilder.createReaderFunc(Function)insteadwill be removed in 1.12.0, usePartitionStatisticsScaninsteadwill be removed in 1.12.0. UsePartitionStatistics.schema(StructType, int)instead.since 1.11.0, will be removed in 1.12.0. UseCatalogHandlers.loadTable(Catalog, TableIdentifier, SnapshotMode)instead.since 1.11.0, visibility will be reduced in 1.12.0.since 1.11.0, visibility will be reduced in 1.12.0.since 1.11.0, will be removed in 1.12.0.since 1.11.0, visibility will be reduced in 1.12.0.since 1.11.0, visibility will be reduced in 1.12.0.since 1.11.0, will be removed in 1.12.0; useRESTUtil.decodeNamespace(String, String)instead.since 1.11.0, will be removed in 1.12.0; useRESTUtil.encodeNamespace(Namespace, String)instead.since 1.3.0, will be removed in 2.0.0since 1.3.0, will be removed in 2.0.0since 1.3.0, will be removed in 2.0.0This method is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UseRewriteTablePathUtil.PositionDeleteReaderWriter.writer(OutputFile, FileFormat, PartitionSpec, StructLike)instead.will be removed in 2.0.0; use SnapshotChanges#builderFor(Table) insteadwill be removed in 2.0.0; use SnapshotChanges#builderFor(Table) insteadwill be removed in 2.0.0; use SnapshotChanges#builderFor(Table) insteadwill be removed in 2.0.0; use SnapshotChanges#builderFor(Table) insteadsince 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.11.0, will be removed in 1.12.0since 1.0.0, will be removed in 2.0.0; useTable.newIncrementalAppendScan()instead.since 1.0.0, will be removed in 2.0.0; useTable.newIncrementalAppendScan()instead.useTransform.bind(Type)instead; will be removed in 2.0.0useTransform.toHumanString(Type, Object)instead; will be removed in 2.0.0useTransforms.bucket(int)instead; will be removed in 2.0.0useTransforms.day()instead; will be removed in 2.0.0useTransforms.identity()instead; will be removed in 2.0.0useTransforms.hour()instead; will be removed in 2.0.0useTransforms.identity()instead; will be removed in 2.0.0useTransforms.month()instead; will be removed in 2.0.0useTransforms.truncate(int)instead; will be removed in 2.0.0useTransforms.year()instead; will be removed in 2.0.0will be removed in 2.0.0; useUnknownTransform.bind(Type)insteadwill be removed in 2.0.0; useTypes.NestedField.Builder.withInitialDefault(Literal)instead.will be removed in 2.0.0; useTypes.NestedField.Builder.withWriteDefault(Literal)instead.will be removed in 2.0.0; useTypes.NestedField.builder()instead.will be removed in 2.0.0; useTypes.NestedField.builder()instead.will be removed in 2.0.0; useTypes.NestedField.Builder.withId(int)insteadwill be removed in 2.0.0; useTypeUtil.SchemaVisitor.variant(Types.VariantType)instead.since 1.8.0, will be removed in 2.0.0, useUpdateStatistics.setStatistics(StatisticsFile).will be removed in 1.12.0, useSnapshotChangeswithSnapshotUtil.ancestorsBetween(long, Long, Function)instead.will be removed in 1.12.0, useSnapshotChangeswithSnapshotUtil.ancestorsBetween(long, Long, Function)instead.since 1.11.0 and will be removed in 1.12.0since 1.11.0 and will be removed in 1.12.0will be removed in 1.12.0. UseThreadPools.newExitingWorkerPool(String, int)for long-lived thread pools that require a shutdown hook, orThreadPools.newFixedThreadPool(String, int)for short-lived thread pools where you manage the lifecycle.will be removed in 1.12.0. UseThreadPools.newExitingWorkerPool(String, int)for long-lived thread pools that require a shutdown hook, orThreadPools.newFixedThreadPool(String, int)for short-lived thread pools where you manage the lifecycle.
-
Deprecated ConstructorsConstructorDescriptionsince 1.11.0, will be removed in 1.12.0; use
IcebergWriterResult(TableReference, List, List, StructType)insteadsince 1.11.0, will be removed in 1.12.0; useTableReference.of(String, TableIdentifier, UUID).will be removed in 1.12.0; useRawDecoder.create(org.apache.iceberg.Schema, Function, Schema)insteadThis constructor is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UseGenericAppenderFactory(Table, Schema, PartitionSpec, Map, int[], Schema)instead.since 1.11.0, will be updated in 1.12.0 to acceptFileAppender<PositionDelete<T>>instead ofFileAppender<? extends StructLike>.will be removed in 2.0.0 This API does not receive file length, and is therefore not safewill be removed in 1.12.0.since 1.10.0, will be removed in 2.0.0. UseIcebergTableSink(TableLoader, ResolvedSchema, ReadableConfig, Map)insteadThis constructor is deprecated as of version 1.11.0 and will be removed in 1.12.0. Position deletes that include row data are no longer supported. UseFlinkAppenderFactory(Table, Schema, RowType, Map, PartitionSpec, int[], Schema)instead.since 1.11.0, will be removed in 1.12.0; useHadoopFileIO(Configuration)instead.UseStructReader(TypeDescription, List, Types.StructType, Map)instead. This constructor uses position-based binding which may cause field misalignment in MOR scenarios. This doesn't work lineage scenarios.since 1.11.0, visibility will be reduced in 1.12.0; usePlanTableScanRequest.builder()instead.since 1.11.0, will be made private in 1.12.0; useResourcePaths.forCatalogProperties(Map)instead.since 1.11.0, visibility will be reduced in 1.12.0; usePlanTableScanResponse.builder()instead.since 1.11.0, will be removed in 1.12.0. UseSparkReadConf(SparkSession, Table, CaseInsensitiveStringMap)instead.since 1.11.0, will be removed in 1.12.0. UseSparkWriteConf(SparkSession, Table, CaseInsensitiveStringMap)instead.