64547971

Date: 2020-10-27 03:39:54
Score: 10.5
Natty:
Report link

Were you able to solve the issue? I'm running into similar issues. Can you help me with a workaround with this?

import logging
import apache_beam as beam
from apache_beam import pvalue

class transfrom(beam.DoFn):
    def process(self,element):
        yield pvalue.TaggedOutput("example",tuple(element.items()))

class Test(beam.DoFn):
    def process(self,element):
        


with beam.Pipeline() as p:
    read = (
            p | 'read' >> beam.io.Read(beam.io.BigQuerySource(query="""{}""".format(query_input_table),use_standard_sql=True)))

    trans = (read | 'transform' >> beam.Pardo(transform()))

    ((read | 'transform' >> beam.Pardo(Test(),pvalue.AsDict(trans))))
Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • RegEx Blacklisted phrase (3): Can you help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2): similar issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mongodb cluster