Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3029,9 +3029,6 @@ public void testSnapshotTableCopyJob() throws InterruptedException {
assertEquals(DDL_TABLE_SCHEMA, result.getSchema());
Table remoteTable = bigquery.getTable(DATASET, sourceTableName);
assertNotNull(remoteTable);
// StandardTableDefinition tableDefinition = StandardTableDefinition.of(TABLE_SCHEMA);
// TableInfo tableInfo = TableInfo.of(sourceTableId, tableDefinition);
// Table createdTable = bigquery.create(tableInfo);

// Create snapshot table using source table as the base table
TableId snapshotTableId = TableId.of(DATASET, snapshotTableName);
Expand Down Expand Up @@ -3066,10 +3063,6 @@ public void testSnapshotTableCopyJob() throws InterruptedException {
.build();
Job createdRestoreJob = bigquery.create(JobInfo.of(restoreConfiguration));
CopyJobConfiguration createdRestoreConfiguration = createdRestoreJob.getConfiguration();
// TODO: uncomment/modify below when b/227623980 is resolved
// assertEquals(
// restoreConfiguration.getSourceTables().get(0).getTable(),
// createdRestoreConfiguration.getSourceTables().get(0).getTable());
assertEquals(
restoreConfiguration.getOperationType(), createdRestoreConfiguration.getOperationType());
assertEquals(
Expand Down