Thanks @randyzwitch! You’re right, once I remove the “bqstorage_client=bqstorageclient”, I don’t get the hashing error. Now my function includes the below code:
df = (
bqclient.query(query_string)
.result()
.to_dataframe()
)
However, the caching still doesn’t seem to be working. I will explain further on this thread.