Class AddFile

Object
io.delta.kernel.internal.actions.AddFile

public class AddFile extends Object
Delta log action representing an `AddFile`
  • Field Details

    • SCHEMA_WITHOUT_STATS

      public static final StructType SCHEMA_WITHOUT_STATS
      Schema of the add action in the Delta Log without stats. Used for constructing table snapshot to read data from the table.
    • SCHEMA_WITH_STATS

      public static final StructType SCHEMA_WITH_STATS
    • FULL_SCHEMA

      public static final StructType FULL_SCHEMA
      Full schema of the add action in the Delta Log.
  • Constructor Details

    • AddFile

      public AddFile()
  • Method Details

    • convertDataFileStatus

      public static Row convertDataFileStatus(URI tableRoot, DataFileStatus dataFileStatus, Map<String,Literal> partitionValues, boolean dataChange)
      Utility to generate `AddFile` row from the given DataFileStatus and partition values.