GoogleCloudDataproc / spark-bigquery-connector

BigQuery data source for Apache Spark: Read data from BigQuery into DataFrames, write DataFrames into BigQuery tables.
Apache License 2.0
378 stars 198 forks source link

Issue #1244, Issue #1043 Use existing field properties and only update as per ALLOW_FIELD_RELAXATION #1249

Closed isha97 closed 4 months ago

isha97 commented 5 months ago

/gcbrun

isha97 commented 5 months ago

/gcbrun

isha97 commented 5 months ago

/gcbrun

isha97 commented 5 months ago

/gcbrun

vishalkarve15 commented 5 months ago

Please edit the title to include Issue #1043 as well.

Explanation: This change will fix that issue as well as a side effect. The existing field contained policy tags which were getting dropped because we were creating a new field from scratch. Now, since we're using existing field's builder to create the new field, we will end up preserving its properties including policy tags.

isha97 commented 5 months ago

/gcbrun

isha97 commented 5 months ago

/gcbrun

isha97 commented 5 months ago

/gcbrun

isha97 commented 4 months ago

/gcbrun

isha97 commented 4 months ago

/gcbrun