use of org.apache.hadoop.hive.ql.processors.HiveCommand in project hive by apache.
the class QTestUtil method isCommandUsedForTesting.
private boolean isCommandUsedForTesting(final String command) {
String commandName = command.trim().split("\\s+")[0];
HiveCommand testCommand = HiveCommand.find(new String[] { commandName }, HiveCommand.ONLY_FOR_TESTING);
return testCommand != null;
}
Aggregations