Skip to content

Commit

Permalink
Fix for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
malhotrashivam committed Jan 30, 2025
1 parent ebbc6a8 commit 5fdd22b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1093,9 +1093,10 @@ public void parquetWithNonUniqueFieldIds() {
// notice this earlier on.
try {
table.select();
failBecauseExceptionWasNotThrown(IllegalStateException.class);
} catch (IllegalArgumentException e) {
assertThat(e).hasMessageContaining(
failBecauseExceptionWasNotThrown(TableDataException.class);
} catch (TableDataException e) {
assertThat(e).hasCauseInstanceOf(IllegalArgumentException.class);
assertThat(e.getCause()).hasMessageContaining(
"Parquet columns can't be unambigously mapped. Bar -> 31337 has multiple paths [Foo], [Bar]");
}
}
Expand Down

0 comments on commit 5fdd22b

Please sign in to comment.