You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2025/10/14 15:36:48 UTC

(beam) branch revert-36393-per_element_schema_parsing created (now 14487860326)

This is an automated email from the ASF dual-hosted git repository.

yhu pushed a change to branch revert-36393-per_element_schema_parsing
in repository https://gitbox.apache.org/repos/asf/beam.git


      at 14487860326 Revert "Per element schema parsing in ConvertToBeamRows (#36393)"

This branch includes the following new commits:

     new 14487860326 Revert "Per element schema parsing in ConvertToBeamRows (#36393)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(beam) 01/01: Revert "Per element schema parsing in ConvertToBeamRows (#36393)"

Posted by yh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch revert-36393-per_element_schema_parsing
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 14487860326864789c66f77710792e4d908b5329
Author: Yi Hu <hu...@gmail.com>
AuthorDate: Tue Oct 14 11:36:38 2025 -0400

    Revert "Per element schema parsing in ConvertToBeamRows (#36393)"
    
    This reverts commit 1a6ec3a08269c2a9b76778f7bc1c3aec65ef119f.
---
 sdks/python/apache_beam/io/gcp/bigquery.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py
index 7310bbdc9fb..0905ba764de 100644
--- a/sdks/python/apache_beam/io/gcp/bigquery.py
+++ b/sdks/python/apache_beam/io/gcp/bigquery.py
@@ -2764,9 +2764,6 @@ class StorageWriteToBigQuery(PTransform):
 
   class ConvertToBeamRows(PTransform):
     def __init__(self, schema, dynamic_destinations):
-      if not isinstance(schema,
-                        (bigquery.TableSchema, bigquery.TableFieldSchema)):
-        schema = bigquery_tools.get_bq_tableschema(schema)
       self.schema = schema
       self.dynamic_destinations = dynamic_destinations