Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Commit

Permalink
Merge pull request embulk#10 from trocco-io/fix-patch-table
Browse files Browse the repository at this point in the history
  • Loading branch information
giwa committed Jun 19, 2020
2 parents eddb86c + 44a524e commit fd0d26d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/embulk/output/bigquery/bigquery_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ def patch_description(fields, column_options)

fields = patch_description(table.schema.fields, @task['column_options'])
table.schema.update!(fields: fields)
client.patch_table(@project, @dataset, @task['table'], table)
table_id = Helper.chomp_partition_decorator(@task['table'])
client.patch_table(@project, @dataset, table_id, table)
end
end
end
Expand Down

0 comments on commit fd0d26d

Please sign in to comment.