Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void createSingleOutput() throws IOException, ProfileException, ViewAppli
rootPath = Files.createTempDirectory("PARQUET_TEST");
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4, "", rootPath.toString(), "", "", null, 0, 0, "", 1, false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 0, 0, "", 1, false);
IParser parser = avroConversionUtil.getFhirContext().newJsonParser();
Bundle bundle = parser.parseResource(Bundle.class, observationBundle);
for (Bundle.BundleEntryComponent entry : bundle.getEntry()) {
Expand Down Expand Up @@ -179,7 +179,7 @@ public void createMultipleOutputByTime()
rootPath = Files.createTempDirectory("PARQUET_TEST");
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4, "", rootPath.toString(), "", "", null, 1, 0, "", 1, false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 1, 0, "", 1, false);
IParser parser = avroConversionUtil.getFhirContext().newJsonParser();
Bundle bundle = parser.parseResource(Bundle.class, observationBundle);
for (Bundle.BundleEntryComponent entry : bundle.getEntry()) {
Expand Down Expand Up @@ -222,17 +222,7 @@ public void createSingleOutputWithRowGroupSize()
final int rowGroupSize = approximateMemSizeOfOneObservarion * 90;
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4,
"",
rootPath.toString(),
"",
"",
null,
0,
rowGroupSize,
"",
1,
false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 0, rowGroupSize, "", 1, false);
IParser parser = avroConversionUtil.getFhirContext().newJsonParser();
Bundle bundle = parser.parseResource(Bundle.class, observationBundle);
// There are 6 resources in the bundle, so we write 17*6 (>100) resources, such that the page
Expand Down Expand Up @@ -310,7 +300,7 @@ public void writeObservationWithBigDecimalValue()
rootPath = Files.createTempDirectory("PARQUET_TEST");
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4, "", rootPath.toString(), "", "", null, 0, 0, "", 1, false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 0, 0, "", 1, false);
String observationStr =
Resources.toString(
Resources.getResource("observation_decimal.json"), StandardCharsets.UTF_8);
Expand All @@ -326,7 +316,7 @@ public void writeObservationBundleWithDecimalConversionIssue()
rootPath = Files.createTempDirectory("PARQUET_TEST");
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4, "", rootPath.toString(), "", "", null, 0, 0, "", 1, false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 0, 0, "", 1, false);
String observationBundleStr =
Resources.toString(
Resources.getResource("observation_decimal_bundle.json"), StandardCharsets.UTF_8);
Expand All @@ -342,7 +332,7 @@ public void writeObservationBundleWithMultipleProfiles()
rootPath = Files.createTempDirectory("PARQUET_TEST");
parquetUtil =
new ParquetUtil(
FhirVersionEnum.R4, "", rootPath.toString(), "", "", null, 0, 0, "", 1, false);
FhirVersionEnum.R4, "", rootPath.toString(), "", "", "", 0, 0, "", 1, false);

String patientStr =
Resources.toString(Resources.getResource("patient_bundle.json"), StandardCharsets.UTF_8);
Expand Down Expand Up @@ -374,7 +364,7 @@ public void writeQuestionnaireResponse()
rootPath.toString(),
"",
"",
null,
"",
0,
0,
"",
Expand Down
Loading