boolangery opened a new issue, #27775:
URL: https://github.com/apache/beam/issues/27775

   ### What happened?
   
   Beam Go tag  beam:"name" is not working with automatic coder.
   
   Example:
   
   ```go
   type PropertyUpdate struct {
        PropertyName string                     `beam:"property_name"`
        Operation    operation                  `beam:"operation"`
        Operand      *structpb.Value            `beam:"operand"
        UserID       string                     `beam:"user_id"`
   }
   ```
   
   Failing with:
   
   ```
   decoding a *struct { Property_name string "beam:\"property_name\""; 
Operation int64 "beam:\"operation\""; Operand *structpb.Value 
"beam:\"operand\""; User_id string "beam:\"user_id\"" }
   ```
   
   The SDK is expecting a field named `Property_name` in the struct while it 
should expect `PropertyName`.
   
   
   
   ### Issue Priority
   
   Priority: 3 (minor)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [ ] Component: Java SDK
   - [X] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


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

Reply via email to