Skip to content

FileNames Utility

Creating Hadoop Path To Delta Commit File

deltaFile(
  path: Path,
  version: Long): Path

deltaFile creates a Path (Apache Hadoop) to a file in the path directory.

The format of the file is as follows:

[version with leading 0s, up to 20 digits].json

Examples:

  • 00000000000000000001.json
  • 00000000000000012345.json

deltaFile is used when:

Creating Hadoop Path To Compacted Delta File

compactedDeltaFile(
  path: Path,
  fromVersion: Long,
  toVersion: Long): Path

Not used

compactedDeltaFile creates a Path (Apache Hadoop) to a file in the path directory.

The format of the file is as follows:

[fromVersion with leading 0s, up to 20 digits].[toVersion with leading 0s, up to 20 digits].compacted.json

Examples:

  • 00000000000000000001.00000000000000012345.compacted.json