rdblue commented on code in PR #6965:
URL: https://github.com/apache/iceberg/pull/6965#discussion_r1125767546
##########
spark/v3.3/spark-extensions/src/test/java/org/apache/iceberg/spark/extensions/TestMerge.java:
##########
@@ -186,11 +189,14 @@ public void testMergeWithStaticPredicatePushDown() {
row(2L, "hardware") // new
);
assertEquals(
- "Output should match", expectedRows, sql("SELECT * FROM %s ORDER BY
id, dep", tableName));
+ "Output should match",
+ expectedRows,
+ sql("SELECT * FROM %s ORDER BY id, dep", selectTarget()));
}
@Test
public void testMergeIntoEmptyTargetInsertAllNonMatchingRows() {
+ Assume.assumeTrue("Branch can only be used for non-empty table", branch ==
null);
Review Comment:
I think that we should fix this so that at least `main` works. Otherwise,
`main` doesn't work but omitting branch does, which is weird because those are
supposed to be the same thing (omitting scans main).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]