use of io.prestosql.plugin.hive.HiveStorageFormat.SEQUENCEFILE in project hetu-core by openlookeng.
the class TestHiveFileFormats method testSequenceFile.
@Test(dataProvider = "rowCount")
public void testSequenceFile(int rowCount) throws Exception {
List<TestColumn> testColumns = TEST_COLUMNS.stream().filter(column -> !column.getName().equals("t_map_null_key_complex_key_value")).collect(toList());
assertThatFileFormat(SEQUENCEFILE).withColumns(testColumns).withRowsCount(rowCount).isReadableByRecordCursor(new GenericHiveRecordCursorProvider(HDFS_ENVIRONMENT));
}
use of io.prestosql.plugin.hive.HiveStorageFormat.SEQUENCEFILE in project boostkit-bigdata by kunpengcompute.
the class TestHiveFileFormats method testSequenceFile.
@Test(dataProvider = "rowCount")
public void testSequenceFile(int rowCount) throws Exception {
List<TestColumn> testColumns = TEST_COLUMNS.stream().filter(column -> !column.getName().equals("t_map_null_key_complex_key_value")).collect(toList());
assertThatFileFormat(SEQUENCEFILE).withColumns(testColumns).withRowsCount(rowCount).isReadableByRecordCursor(new GenericHiveRecordCursorProvider(HDFS_ENVIRONMENT));
}
Aggregations