[ https://issues.apache.org/jira/browse/BEAM-12669?focusedWorklogId=632655&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-632655 ]
ASF GitHub Bot logged work on BEAM-12669: ----------------------------------------- Author: ASF GitHub Bot Created on: 03/Aug/21 01:16 Start Date: 03/Aug/21 01:16 Worklog Time Spent: 10m Work Description: codecov[bot] edited a comment on pull request #15237: URL: https://github.com/apache/beam/pull/15237#issuecomment-888496240 # [Codecov](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#15237](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (3b994d6) into [master](https://codecov.io/gh/apache/beam/commit/205fbb10998c9e2a1c7842ab7efd88aef80828a6?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (205fbb1) will **decrease** coverage by `0.00%`. > The diff coverage is `80.00%`. [](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) ```diff @@ Coverage Diff @@ ## master #15237 +/- ## ========================================== - Coverage 83.83% 83.83% -0.01% ========================================== Files 441 441 Lines 59706 59709 +3 ========================================== + Hits 50057 50059 +2 - Misses 9649 9650 +1 ``` | [Impacted Files](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [...s/python/apache\_beam/io/gcp/bigquery\_file\_loads.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vZ2NwL2JpZ3F1ZXJ5X2ZpbGVfbG9hZHMucHk=) | `87.58% <80.00%> (+0.08%)` | :arrow_up: | | [sdks/python/apache\_beam/utils/interactive\_utils.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdXRpbHMvaW50ZXJhY3RpdmVfdXRpbHMucHk=) | `87.80% <0.00%> (-7.32%)` | :arrow_down: | | [sdks/python/apache\_beam/io/source\_test\_utils.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vaW8vc291cmNlX3Rlc3RfdXRpbHMucHk=) | `88.47% <0.00%> (-1.39%)` | :arrow_down: | | [...hon/apache\_beam/runners/worker/bundle\_processor.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvYnVuZGxlX3Byb2Nlc3Nvci5weQ==) | `93.26% <0.00%> (-0.38%)` | :arrow_down: | | [...eam/runners/interactive/interactive\_environment.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9pbnRlcmFjdGl2ZS9pbnRlcmFjdGl2ZV9lbnZpcm9ubWVudC5weQ==) | `90.33% <0.00%> (-0.38%)` | :arrow_down: | | [...ks/python/apache\_beam/runners/worker/data\_plane.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy93b3JrZXIvZGF0YV9wbGFuZS5weQ==) | `92.42% <0.00%> (+1.81%)` | :arrow_up: | | [...hon/apache\_beam/runners/direct/test\_stream\_impl.py](https://codecov.io/gh/apache/beam/pull/15237/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vcnVubmVycy9kaXJlY3QvdGVzdF9zdHJlYW1faW1wbC5weQ==) | `96.26% <0.00%> (+2.23%)` | :arrow_up: | ------ [Continue to review full report at Codecov](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [205fbb1...3b994d6](https://codecov.io/gh/apache/beam/pull/15237?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 632655) Time Spent: 1h 20m (was: 1h 10m) > UpdateDestinationSchema PTransform does not respect source format > ----------------------------------------------------------------- > > Key: BEAM-12669 > URL: https://issues.apache.org/jira/browse/BEAM-12669 > Project: Beam > Issue Type: Bug > Components: io-go-gcp, runner-dataflow > Affects Versions: 2.30.0 > Reporter: Sayat Satybaldiyev > Priority: P2 > Time Spent: 1h 20m > Remaining Estimate: 0h > > When multiple load jobs are needed to write data to a destination table, > e.g., when the data is spread over more than 10,000 URIs, WriteToBigQuery in > FILE_LOADS mode will write data into temporary tables and then update the > temporary tables if schema additions is allowed. > However, update of temporary table scheme does not respect a specified source > format of the loading files(i.e. JSON, AVRO). > The UpdateDestinationSchema issue schema modification command with a default > CSV setting which causing AVRO or JSON nested schema loads to fail with the > error: > {code:java} > apache_beam.io.gcp.bigquery_file_loads: INFO: Triggering schema modification > job > beam_bq_job_LOAD_satybald7_SCHEMA_MOD_STEP_994_3869e4dc1dd08c68d20fd047e242161a_7c553f684cce4963a75d669f38a4ec46 > on <TableReference > datasetId: 'python_write_to_table_1627431111435' > projectId: 'DELETED' > tableId: 'python_append_schema_update'> > apache_beam.io.gcp.bigquery_tools: INFO: Failed to insert job <JobReference > jobId: > 'beam_bq_job_LOAD7_SCHEMA_MOD_STEP_994_3869e4dc1dd08c68d20fd047e242161a_7c553f684cce4963a75d669f38a4ec46' > projectId: 'DELETED'>: HttpError accessing .... > 'content-type': 'application/json; charset=UTF-8', 'content-length': '332', > 'date': 'Wed, 28 Jul 2021 00:12:03 GMT', 'server': 'UploadServer', 'status': > '400'}>, content <{ > "error": { > "code": 400, > "message": "Cannot load CSV data with a nested schema. Field: > nested_field", > "errors": [ > { > "message": "Cannot load CSV data with a nested schema. Field: > nested_field", > "domain": "global", > "reason": "invalid" > } > ], > "status": "INVALID_ARGUMENT" > } > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)