Skip to content

bqr_get_job only works for datasets in US or EU location #71

@ekocsis3

Description

@ekocsis3

Hi,

When uploading data to BQ with the bqr_upload_data() function to a dataset not located in the US or EU, the function returns an error even though the upload is successful. See the example below when uploading to the bigQueryR_test dataset, located in 'europe-west3'.

I've traced the issue back to the bqr_get_job() function. Currently, it does not add a location query parameter to the API call, which is required for non-US/EU locations. (https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/get)

I'd be to happy to add this param to the function if you agree.

Screenshot 2021-04-26 at 13 59 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions