Skip to content

Commit 63023ef

Browse files
committed
Fixed unit test
1 parent a6f2fcd commit 63023ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestProjectEmitOutcome.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public void testProjectWithComplexWritersAndEmitOutcome_NonEmptyFirstBatch() thr
188188
fail();
189189
} catch (UserException e) {
190190
// exception is expected because of complex writers case
191-
assertEquals(ErrorType.UNSUPPORTED_OPERATION, e.getErrorType());
191+
assertEquals(ErrorType.FUNCTION, e.getErrorType());
192192
}
193193
}
194194

@@ -225,7 +225,7 @@ public void testProjectWithComplexWritersAndEmitOutcome_EmptyFirstBatch() throws
225225
fail();
226226
} catch (UserException e) {
227227
// exception is expected because of complex writers case
228-
assertEquals(ErrorType.UNSUPPORTED_OPERATION, e.getErrorType());
228+
assertEquals(ErrorType.FUNCTION, e.getErrorType());
229229
}
230230
}
231231
}

0 commit comments

Comments
 (0)