mataralhawiti commented on issue #34089:
URL: https://github.com/apache/beam/issues/34089#issuecomment-2692737903

   > Can you try to define the coder like 
https://github.com/GoogleCloudPlatform/dataflow-cookbook/blob/main/Python/jdbc/read_jdbc.py#L84?
   
   thanks @liferoad , I tried defining a row coder as you suggested but it's 
still the same issue.
   ```
   class ExampleRow(NamedTuple):
       quanitity : int
       LastName  : str
   ..
   ..
   
       | "Map to ExampleRow" >> beam.Map(lambda element: ExampleRow(element[0], 
element[1]))
       | "log result" >> beam.ParDo(LogResults())
   ```
   
   and my worker logs 
   
   ```
   elment.logger - : ExampleRow(quanitity=4294967290, LastName='xxx')
   ```


-- 
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: github-unsubscr...@beam.apache.org

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

Reply via email to