Github user xunzhang commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/885#discussion_r77452500
--- Diff: src/test/feature/ManagementTool/test_hawq_register.cpp ---
@@ -369,3 +369,25 @@ TEST_F(TestHawqRegister, TestUsage2Behavior2) {
util.execute("drop table simple_register_table;");
util.execute("drop table new_simple_register_table;");
}
+
+TEST_F(TestHawqRegister, TestUsage2ForceOption) {
+ SQLUtility util;
+ util.execute("drop table if exists simple_register_table_force;");
+ util.execute("drop table if exists new_simple_register_table_force;");
+ util.execute("create table simple_register_table_force(i int) with
(appendonly=true, orientation=row) distributed randomly;");
+ util.execute("insert into simple_register_table_force values(1), (2),
(3);");
+ EXPECT_EQ(0, Command::getCommandStatus("hawq extract -d " + (string)
HAWQ_DB + " -o tmp.yml
testhawqregister_testusage2forceoption.simple_register_table_force"));
--- End diff --
The meaningful name is tmp because of it is just a temporary yaml file
without other meaning...
---
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.
---