Skip to content

Commit

Permalink
Add ALTER TABLE statement to Iceberg trailing slash test
Browse files Browse the repository at this point in the history
  • Loading branch information
ebyhr committed Oct 14, 2022
1 parent b8602fc commit 3c6678b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ public void testS3LocationWithTrailingSlash()
List<String> metadataFiles = hiveMinioDataLake.getMinioClient().listObjects(bucketName, "/%s/%s/metadata".formatted(schemaName, tableName));
assertThat(metadataFiles).isNotEmpty().filteredOn(filePath -> filePath.contains("#")).isEmpty();

// Verify ALTER TABLE succeeds https://github.com/trinodb/trino/issues/14552
assertUpdate("ALTER TABLE " + tableName + " ADD COLUMN new_col int");
assertTableColumnNames(tableName, "col", "new_col");

assertUpdate("DROP TABLE " + tableName);
}

Expand Down

0 comments on commit 3c6678b

Please sign in to comment.