Skip to content

Commit 6d3fc8d

Browse files
committed
Fix typo
1 parent a73aa31 commit 6d3fc8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/big_query/client/job_types.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def _copy(opts)
99
else
1010
_opts[:source_table] = Google::Apis::BigqueryV2::TableReference.new(_opts[:source_table])
1111
end
12-
_opts[:destination_table] = Google::Apis::BigqueryV2::TableReference.new(_opts[:destination_tables])
12+
_opts[:destination_table] = Google::Apis::BigqueryV2::TableReference.new(_opts[:destination_table])
1313

1414
Google::Apis::BigqueryV2::JobConfigurationCopy.new(
1515
_opts

lib/big_query/client/jobs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_query_results(id, opts = {})
5454
def insert_job(opts, parameters = {}, media = nil)
5555
_opts = deep_symbolize_keys(opts)
5656
job_type = _opts.keys.find { |k| [:copy, :extract, :load, :query].include?(k.to_sym) }
57-
job_type_configuration = __send__("_#{job_type.to_s}", deep_symbolize_keys(_opts[job_type]))
57+
job_type_configuration = __send__("_#{job_type.to_s}", _opts[job_type])
5858
job_configuration = Google::Apis::BigqueryV2::JobConfiguration.new(
5959
job_type.to_sym => job_type_configuration
6060
)

0 commit comments

Comments
 (0)