You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/12/14 17:00:20 UTC

[GitHub] [beam] janeliulwq commented on a change in pull request #13516: Change the output type of FHIR Search from String to JsonArray

janeliulwq commented on a change in pull request #13516:
URL: https://github.com/apache/beam/pull/13516#discussion_r542547104



##########
File path: sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/healthcare/FhirIOTest.java
##########
@@ -67,7 +68,8 @@ public void test_FhirIO_failedSearches() {
 
     PCollection<HealthcareIOError<String>> failed = searchResult.getFailedSearches();
 
-    PCollection<String> resources = searchResult.getResources();
+    PCollection<JsonArray> resources = searchResult.getResources();
+    resources.setCoder(JsonArrayCoder.of());

Review comment:
       Thanks and done!




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org