1
0

[HUDI-1826] Add ORC support in HoodieSnapshotExporter (#3130)

This commit is contained in:
Vaibhav Sinha
2021-06-23 14:34:25 +05:30
committed by GitHub
parent 2687eab8f0
commit 43b9c1fa1c
3 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows;
public class TestHoodieSnapshotExporter {
@ParameterizedTest
@ValueSource(strings = {"json", "parquet", "hudi"})
@ValueSource(strings = {"json", "parquet", "orc", "hudi"})
public void testValidateOutputFormatWithValidFormat(String format) {
assertDoesNotThrow(() -> {
new OutputFormatValidator().validate(null, format);

View File

@@ -213,7 +213,7 @@ public class TestHoodieSnapshotExporter extends FunctionalTestHarness {
public class TestHoodieSnapshotExporterForNonHudi {
@ParameterizedTest
@ValueSource(strings = {"json", "parquet"})
@ValueSource(strings = {"json", "parquet", "orc"})
public void testExportAsNonHudi(String format) throws IOException {
HoodieSnapshotExporter.Config cfg = new Config();
cfg.sourceBasePath = sourcePath;