Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
  • Loading branch information
vikrantpuppala committed Oct 8, 2024
1 parent 4d1557a commit e0daf1e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions api/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2394,6 +2394,12 @@ components:
Metadata:
description: Represents a Delta metadata action (see https://github.com/delta-io/delta/blob/master/PROTOCOL.md#change-metadata for more information).
properties:
name:
type: string
description: User-provided identifier for this table. (should be set if changed).
description:
type: string
description: User-provided description for this table. (should be set if changed).
delta_table_id:
type: string
description: The table ID (this is the internal table ID created by Delta).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Table(
name = "uc_commits",
uniqueConstraints = {
@UniqueConstraint(columnNames = {"metastore_id", "table_id", "commit_version"})
@UniqueConstraint(columnNames = {"table_id", "commit_version"})
})
// Lombok
@Getter
Expand Down Expand Up @@ -44,7 +44,7 @@ public class CommitDAO {
@Column(name = "commit_timestamp", nullable = false)
private Date commitTimestamp;

@Column(name = "is_backfilled_latest_commit")
@Column(name = "is_backfilled_latest_commit", nullable = false)
private Boolean isBackfilledLatestCommit;

@Column(name = "is_disown_commit")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private static void deleteLocalDirectory(Path dirPath) throws IOException {
});
}
} else {
LOGGER.info("Directory does not exist: {}", dirPath);
throw new IOException("Directory does not exist: " + dirPath);
}
}

Expand Down

0 comments on commit e0daf1e

Please sign in to comment.