Package org.apache.iceberg.actions
Interface RewriteTablePath.Result
- Enclosing interface:
RewriteTablePath
public static interface RewriteTablePath.Result
The action result that contains a summary of the execution.
-
Method Summary
Modifier and TypeMethodDescriptionResult file list location.Name of latest metadata file versiondefault intNumber of delete files with rewritten paths.default intNumber of manifest files with rewritten paths.Staging location of rewritten files
-
Method Details
-
stagingLocation
String stagingLocation()Staging location of rewritten files -
fileListLocation
String fileListLocation()Result file list location. This file contains a listing of all files added to the table between startVersion and endVersion, comma-separated.
For each file, it will include the source path (either the original path in the table, or in the staging location if rewritten), and the target path (under the new prefix).Example file content:
sourcepath/datafile1.parquet,targetpath/datafile1.parquet sourcepath/datafile2.parquet,targetpath/datafile2.parquet stagingpath/manifest.avro,targetpath/manifest.avro
This allows for copying a functioning version of the table to the target prefix. -
latestVersion
String latestVersion()Name of latest metadata file version -
rewrittenDeleteFilePathsCount
default int rewrittenDeleteFilePathsCount()Number of delete files with rewritten paths. -
rewrittenManifestFilePathsCount
default int rewrittenManifestFilePathsCount()Number of manifest files with rewritten paths.
-