Skip to content

Commit

Permalink
Spark: Update tests which assume file format to use enum instead of s…
Browse files Browse the repository at this point in the history
…tring literal (apache#11540)
  • Loading branch information
huaxingao authored Nov 13, 2024
1 parent e06b069 commit 3659ded
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public void testIsDeletedColumnWithoutDeleteFile() {

@TestTemplate
public void testPosDeletesOnParquetFileWithMultipleRowGroups() throws IOException {
assumeThat(format).isEqualTo("parquet");
assumeThat(format).isEqualTo(FileFormat.PARQUET);

String tblName = "test3";
Table tbl = createTable(tblName, SCHEMA, PartitionSpec.unpartitioned());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ public void testIsDeletedColumnWithoutDeleteFile() {

@TestTemplate
public void testPosDeletesOnParquetFileWithMultipleRowGroups() throws IOException {
assumeThat(format).isEqualTo("parquet");
assumeThat(format).isEqualTo(FileFormat.PARQUET);

String tblName = "test3";
Table tbl = createTable(tblName, SCHEMA, PartitionSpec.unpartitioned());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ public void testIsDeletedColumnWithoutDeleteFile() {

@TestTemplate
public void testPosDeletesOnParquetFileWithMultipleRowGroups() throws IOException {
assumeThat(format).isEqualTo("parquet");
assumeThat(format).isEqualTo(FileFormat.PARQUET);

String tblName = "test3";
Table tbl = createTable(tblName, SCHEMA, PartitionSpec.unpartitioned());
Expand Down

0 comments on commit 3659ded

Please sign in to comment.