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

   ### What needs to happen?
   
   There is a 
[TODO](https://github.com/apache/beam/blob/v2.43.0/sdks/go/pkg/beam/io/bigqueryio/bigquery.go#L91)
 in the `bigqueryio.Read` transform to infer column names from type `t` instead 
of using `SELECT *` in the query.
   
   I would like a function, e.g. in the util package, which infers field names 
from a given struct type and tag key, and returns them as a `[]string`.
   
   It can be used in `bigqueryio.Read` to construct the select statement and 
for similar use cases, such as in `spannerio.Read` which currently uses its own 
unexported `columnsFromStruct` function.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: sdk-go


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