currently im querying gbq through odbc, was working alright until a few days ago it started giving me a timeout poll error, doesnt matter if the results it is going to throw are small or big. I started looking around for a fix and decided to use the gbq connector using google.cloud.bigquery.v2.3.2.0, found samples to use it but theyre all in different languages and cant seem to port it to visual basic. Does anyone have a working sample on how to connect to gbq through this library or any suggestion to point me in the correct direction? currently my connection strings are like this:
Dim BQConnectionString As String = "Driver=Simba ODBC Driver for Google BigQuery;OauthMechanism=1;Email=" & GoogleMAIL & ";Catalog=" & BQCATALOG & ";RefreshToken=" & BQTOKEN
BQConnection = New ADODB.Connection
BQConnection.ConnectionTimeout = 0
BQConnection.CommandTimeout = 0
BQConnection.Open(BQConnectionString)
BQRecordset = New ADODB.Recordset
With BQRecordset
.Open(Query, BQConnection)
End With
would need something like this but using the mentioned connector and my simba configuration, part to log in and to use my query, thanks a lot in advance
tried using this code as reference but converting it to vb didnt work, expected to log in succesfully to use gbq and retrieve data with a query
How to integrate Google Bigquery with c# console application