-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Please install the 'db-dtypes' package to use this function. #2537
Comments
Hey @chhabrakadabra, thanks for reporting this issue. What version of I'll keep this issue open to track an upgrade to v3.0.0. |
I believe #2554 should have resolved this issue, so I'll close it now. If for some reason the bug persists, please feel to reopen it @chhabrakadabra! |
For me this bug still persists. I'm using |
Issue persists google-cloud-bigquery version 3.1.0 |
hey @michaelzolo and @jerinscaria, we still haven't upgraded to support bigquery >=3.0.0, so I would recommend using bigquery <3 for now |
This was covered in feast-dev#2537. I've only generated lockfiles for Python 3.8 to test this in CI. I'll do the same for the rest of the Python versions later. Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com>
This was covered in feast-dev#2537. I've only generated lockfiles for Python 3.8 to test this in CI. I'll do the same for the rest of the Python versions later. Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com> Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
* Widen dependencies. This should make it easier to install Feast alongside other Python packages. Signed-off-by: Abhin Chhabra <chhabra.abhin@gmail.com> Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Exclude embedded_go/lib from black Signed-off-by: Abhin Chhabra <chhabra.abhin@gmail.com> Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Generate lockfiles for Python3.9 and Python 3.10 Signed-off-by: Abhin Chhabra <chhabra.abhin@gmail.com> Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Switch to `google-cloud-bigquery[pandas]`. This was covered in #2537. I've only generated lockfiles for Python 3.8 to test this in CI. I'll do the same for the rest of the Python versions later. Signed-off-by: Abhin Chhabra <abhin.chhabra@shopify.com> Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Fix Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Update 3.9 reqs Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * UPdate 3.10 Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Fix Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Fix Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Fix lint Signed-off-by: Kevin Zhang <kzhang@tecton.ai> * Fix dependencies Signed-off-by: Kevin Zhang <kzhang@tecton.ai> Co-authored-by: Kevin Zhang <kzhang@tecton.ai>
Expected Behavior
If I install feast with the
[gcp]
extra, I should be able to useBigQueryRetrievalJob.to_bigquery()
without problems.Current Behavior
When feast is installed with the
[gcp]
extra, it installsgoogle-cloud-bigquery
as per this line. It does not use the pandas extra, which means nothing triggers the installation of thedb-dtypes
package.When
bigquery.py
usesto_dataframe()
on the result of a BQ query as done here, it triggers a verification of imports available, which causes the exception here.Steps to reproduce
Install
feast[gcp]
and useBigQueryRetrievalJob.to_bigquery()
.Specifications
feast[gcp]==0.16.1
Possible Solution
Use
google-cloud-bigquery[pandas]
for the[gcp]
extra.The text was updated successfully, but these errors were encountered: