我bigrquery将数据从Google存储桶上传到bigquery,我想设置我允许的最大错误数(默认为0)
为此即时消息使用bq_perform_load
bq_job<-
bq_perform_load(bq_table(destination_project,destination_dataset,destination_table_temp),
file_name,
source_format ="CSV",
nskip="1",
create_disposition = "CREATE_IF_NEEDED",
write_disposition = "WRITE_TRUNCATE",
fields = bq_fields,
billing = destination_project)
作为文档的一部分,似乎可以添加其他参数
... 传递给基础API调用的其他参数。 snake_case名称会自动转换为camelCase。
但我不确定如何使用
ive尝试过类似的事情
bq_perform_load(bq_table(destination_project,destination_dataset,destination_table_temp),
file_name,
source_format ="CSV",
nskip="1",
create_disposition = "CREATE_IF_NEEDED",
write_disposition = "WRITE_TRUNCATE",
fields = bq_fields,
maxBadRecords = "500",
billing = destination_project)
但是没有用