use of org.apache.hadoop.hive.ql.dataset.DatasetCollection in project hive by apache.
the class QTestUtil method initDataSetForTest.
private void initDataSetForTest(File file) {
getCliDriver().processLine("set test.data.dir=" + testFiles + ";");
DatasetParser parser = new DatasetParser();
parser.parse(file);
DatasetCollection datasets = parser.getDatasets();
for (String table : datasets.getTables()) {
initDataset(table);
}
}
Aggregations