Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Data] Check if BigQuery dataset exists before creation (#41630)
We found issue that user may not grant permission to create Google BigQuery dataset when using Ray Data `write_bigquery()` API. So the `client.create_dataset` call would fail with permission error: ``` Access Denied: Project ...: User does not have bigquery.datasets.create permission in project ... ``` So here we change to check if BigQuery dataset already exists, if not then trying to create it. Signed-off-by: Cheng Su <[email protected]>
- Loading branch information