File tree 1 file changed +11
-5
lines changed
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -444,14 +444,20 @@ type CatalogDataFile struct {
444
444
// CatalogManifestVersion represents the version of a catalog manifest.
445
445
type CatalogManifestVersion string
446
446
447
+ // Valid values for CatalogManifestVersion.
447
448
const (
448
- CatalogManifestVersionV1 CatalogManifestVersion = "v1"
449
+ // We use AWS S3's manifest file version here as we are following the same
450
+ // format at least initially.
451
+ CatalogManifestVersion1 CatalogManifestVersion = "2016-11-30"
449
452
)
450
453
451
454
// CatalogManifest represents the manifest of a catalog job's result.
452
455
type CatalogManifest struct {
453
- Version CatalogManifestVersion `json:"version"`
454
- JobID string `json:"jobID"`
455
- StartTimestamp string `json:"startTimestamp"`
456
- Files []CatalogDataFile `json:"files"`
456
+ SourceBucket string `json:"sourceBucket"`
457
+ DestinationBucket string `json:"destinationBucket"`
458
+ Version CatalogManifestVersion `json:"version"`
459
+ CreationTimestamp string `json:"creationTimestamp"`
460
+ FileFormat string `json:"fileFormat"`
461
+ FileSchema string `json:"fileSchema"`
462
+ Files []CatalogDataFile `json:"files"`
457
463
}
You can’t perform that action at this time.
0 commit comments