yihua commented on code in PR #5758:
URL: https://github.com/apache/hudi/pull/5758#discussion_r894861549
##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/TestHiveIncrementalPuller.java:
##########
@@ -141,20 +143,20 @@ private void createTables() throws IOException,
URISyntaxException {
public void testPullerWithoutIncrementalClause() throws IOException,
URISyntaxException {
createTables();
HiveIncrementalPuller puller = new
HiveIncrementalPuller(getHivePullerConfig(
- "select name from testdb.test1"));
- Exception e = assertThrows(HoodieIncrementalPullSQLException.class,
puller::saveDelta,
- "Should fail when incremental clause not provided!");
- assertTrue(e.getMessage().contains("Incremental SQL does not have clause
`_hoodie_commit_time` > '%s', which means its not pulling incrementally"));
+ "select name from testdb.test1"));
+ Exception e = assertThrows(HoodieIncrementalPullException.class,
puller::saveDelta,
+ "Failed to get data location for table testdb.test1");
+ assertTrue(e.getMessage().contains("Failed to get data location for
table"));
Review Comment:
Why does the error change? Is something else broken?
--
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]