[ 
https://issues.apache.org/jira/browse/BEAM-12384?focusedWorklogId=600468&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-600468
 ]

ASF GitHub Bot logged work on BEAM-12384:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/May/21 16:06
            Start Date: 21/May/21 16:06
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on a change in pull request 
#14854:
URL: https://github.com/apache/beam/pull/14854#discussion_r637039449



##########
File path: sdks/java/core/src/test/java/org/apache/beam/sdk/io/ReadTest.java
##########
@@ -149,6 +151,13 @@ public void populateDisplayData(DisplayData.Builder 
builder) {
     assertThat(unboundedDisplayData, hasDisplayItem("maxReadTime", 
maxReadTime));
   }
 
+  @Test
+  public void testReadBoundedTypeDescriptor() {
+    PCollection<String> input = pipeline.apply(Read.from(new 
SerializableBoundedSource()));
+    TypeDescriptor<String> typeDescriptor = input.getTypeDescriptor();
+    assertEquals(String.class, typeDescriptor.getType());

Review comment:
       Do you want to try a test where the source has a generic variable?




-- 
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 600468)
    Time Spent: 20m  (was: 10m)

> Read.Bounded typeDescriptor is lost after move to SDF
> -----------------------------------------------------
>
>                 Key: BEAM-12384
>                 URL: https://issues.apache.org/jira/browse/BEAM-12384
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: P2
>             Fix For: 2.31.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> While debugging a downstream transform after Read I notice that the 
> typeDescriptor information was not set up correctly on the Read transform



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to