Open Chromatius opened 6 months ago
I did figure out the issue myself. If you try to use ray.data.read_bigquery()
without BigQuery
available for import, Ray will give the following error:
ImportError: BigQueryDatasource depends on ‘bigquery’, but ‘bigquery’ couldn’t be imported. You can install ‘bigquery’ by running pip install bigquery.
That is not the correct dependency, and my initial error will appear if one does follow the instruction. Instead one should install google-cloud-bigquery
which is imported as BigQuery
.
I would consider the initial error message a bug in this case.
What happened + What you expected to happen
I am trying to use the Ray Data BigQuery for data ingestion. So far I am just testing in local mode to debug the code. As I run the code, I run into this error:
Versions / Dependencies
I am on MacOS in a Python 3.11 environment with the following dependencies:
Reproduction script
I had to remove anything that could identify dataset, but I tried on two different datasets and got the same problem so I don't think it's specific for one dataset.
Issue Severity
High: It blocks me from completing my task.