Skip to content

Commit e574a61

Browse files
authored
Fix bq_table_upload when source_format is undefined (#613)
1 parent ef6dc0e commit e574a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/bq-perform.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ bq_perform_upload <- function(x, values,
125125
cli::cli_abort("{.arg values} must be a data frame.")
126126
}
127127
fields <- as_bq_fields(fields)
128-
arg_match(source_format)
128+
source_format <- arg_match(source_format)
129129
check_string(create_disposition)
130130
check_string(write_disposition)
131131
check_string(billing)

0 commit comments

Comments
 (0)