Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/628#discussion_r35478801
--- Diff:
tajo-core/src/test/java/org/apache/tajo/cli/tools/TestTajoDump.java ---
@@ -64,4 +64,15 @@ public void testDump2() throws Exception {
executeString("DROP TABLE \"" + getCurrentDatabase() +
"\".\"TableName2\"");
}
}
+
+ @Test
+ public void testDump3() throws Exception {
+ if (!testingCluster.isHiveCatalogStoreRunning()) {
+ UserRoleInfo userInfo = UserRoleInfo.getCurrentUser();
+ ByteArrayOutputStream bos = new ByteArrayOutputStream();
+ PrintWriter printWriter = new PrintWriter(bos);
+
+ TajoDump.dump(client, userInfo, null, false, false,
false, printWriter);
--- End diff --
It would be nice if the dump result is verified. Please refer to other
tests in this class.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---