Skip to content

Commit

Permalink
Fix assert in TextIOIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Oct 9, 2024
1 parent 42cad40 commit d51f36c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public void writeThenReadAll() {

Set<String> sources = Lineage.query(result.metrics(), Lineage.Type.SOURCE);
Set<String> sinks = Lineage.query(result.metrics(), Lineage.Type.SINK);
if (numShards <= 100) {
if (numShards != null && numShards <= 100) {
// both should be the full files, if supported by the runner
assertEquals(sources, sinks);
} else {
Expand Down

0 comments on commit d51f36c

Please sign in to comment.