Skip to content

Commit

Permalink
[fix] Fix failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsreaper committed Nov 8, 2024
1 parent 4493949 commit 5d741ba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ public TableSchema commitChanges(SchemaChange... changes) throws Exception {

/** Update {@link SchemaChange}s. */
public TableSchema commitChanges(List<SchemaChange> changes)
throws Catalog.TableNotExistException, Catalog.ColumnAlreadyExistException,
throws Catalog.TableNotExistException,
Catalog.ColumnAlreadyExistException,
Catalog.ColumnNotExistException {
SnapshotManager snapshotManager = new SnapshotManager(fileIO, tableRoot, branch);
boolean hasSnapshots = (snapshotManager.latestSnapshotId() != null);
Expand Down Expand Up @@ -284,7 +285,7 @@ public TableSchema commitChanges(List<SchemaChange> changes)
Preconditions.checkArgument(
addColumn.dataType().isNullable(),
"Column %s cannot specify NOT NULL in the %s table.",
addColumn.fieldNames(),
String.join(".", addColumn.fieldNames()),
identifierFromPath(tableRoot.toString(), true, branch).getFullName());
int id = highestFieldId.incrementAndGet();
DataType dataType =
Expand Down

0 comments on commit 5d741ba

Please sign in to comment.