-1

I am reading bigtable in my Pcollection and then trying to convert the read records to Avro Generic Records .Is it possible to directly change read from big table to generic records without writing any function in the pCollection ?

For example : i am trying to do something like below

 pipeline
    .apply("Read from Bigtable", read)
    .apply("Transform to generic records using Avro.IO", AvroIO.<<>> 
     (read));

1 Answers1

0

In order to write Generic Records with AvroIO, you'll need to provide an Avro Schema, which I believe is incompatible with the output from BigtableIO, so this is not possible without a transformation between BigtableIO and AvroIO.

Dan
  • 165
  • 7