You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by "difin (via GitHub)" <gi...@apache.org> on 2023/04/27 19:37:18 UTC
[GitHub] [hive] difin commented on a diff in pull request #4254: HIVE-27281: Add ability of masking to Beeline q-tests
difin commented on code in PR #4254:
URL: https://github.com/apache/hive/pull/4254#discussion_r1179603252
##########
itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CoreBeeLineDriver.java:
##########
@@ -97,6 +101,8 @@ public CoreBeeLineDriver(AbstractCliConfig testCliConfig) {
initScript = new File(testScriptDirectory, testCliConfig.getInitScript());
}
cleanupScript = new File(testScriptDirectory, testCliConfig.getCleanupScript());
+ this.replaceHandler = new QTestReplaceHandler();
Review Comment:
As I understand form the code, QTestUtil can't be used as is because it doesn't execute commands using beeline.
After digging into other drivers that use QTestUtil, I saw that QTestUtil executes commands from q-files using ReExecDriver.java which lives in hive-ql module, while CoreBeeLineDriver executes commands from q-files using Beeline.java.
--
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: gitbox-unsubscribe@hive.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org