Skip to content

Commit 75eda20

Browse files
authored
Revert "Per element schema parsing in ConvertToBeamRows (#36393)" (#36507)
This reverts commit 1a6ec3a.
1 parent 37c7e28 commit 75eda20

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

sdks/python/apache_beam/io/gcp/bigquery.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2764,9 +2764,6 @@ def expand(self, input):
27642764

27652765
class ConvertToBeamRows(PTransform):
27662766
def __init__(self, schema, dynamic_destinations):
2767-
if not isinstance(schema,
2768-
(bigquery.TableSchema, bigquery.TableFieldSchema)):
2769-
schema = bigquery_tools.get_bq_tableschema(schema)
27702767
self.schema = schema
27712768
self.dynamic_destinations = dynamic_destinations
27722769

0 commit comments

Comments
 (0)