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

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

                Author: ASF GitHub Bot
            Created on: 14/Jan/22 18:45
            Start Date: 14/Jan/22 18:45
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on a change in pull request 
#16271:
URL: https://github.com/apache/beam/pull/16271#discussion_r785075074



##########
File path: 
sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/AvroRecordSchema.java
##########
@@ -32,12 +32,14 @@
  * objects, creating a schema that matches that inferred by the AVRO libraries.
  */
 @SuppressWarnings({
+  "nullness", // TODO(https://issues.apache.org/jira/browse/BEAM-10402)

Review comment:
       Makes sense. At some point we should improve upstream apache/avro or 
possibly just add a stub file here. For now, can you narrow the scope of the 
`@SuppressWarnings` annotation to this method? Or, ideally, to a single 
assignment statement like so:
   
   ```java
   Class<?> avroType = typeDescriptor.getRawType();
   @SuppressWarnings("nullness") // new ReflectData(ClassLoader) is not 
annotated to accept null
   ClassLoader classLoader = avroType.getClassLoader
   return toBeamSchema(new ReflectData(classLoader).getSchema(avroType));
   ```    




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

            Worklog Id:     (was: 709237)
    Remaining Estimate: 16h 20m  (was: 16.5h)
            Time Spent: 7h 40m  (was: 7.5h)

> Update Avro to 1.9.1 from 1.8.2
> -------------------------------
>
>                 Key: BEAM-8388
>                 URL: https://issues.apache.org/jira/browse/BEAM-8388
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-avro
>            Reporter: Jordanna Chord
>            Priority: P3
>   Original Estimate: 24h
>          Time Spent: 7h 40m
>  Remaining Estimate: 16h 20m
>
> Update build dependency to 1.9.1



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to