Forum Discussion
DataSource.Error: ADBC: UnknownError while running a query with left join
- 1 year ago
Hello, CansuT ,
You can try double-checking the selection to ensure that there are no duplicate column names, so use aliases for every column. Also, if possible, wrap your request inside Value.NativeQuery (with EnableFolding=true) function that should help with ensuring it folds back to source. Alternatively, if you have non-common data types for Power BI, you can try to normalise them in the select itself.
Native Query syntax:
Value.NativeQuery(GoogleBigQuery.Database(...), SqlAsText, null, [EnableFolding = false])
Hello, CansuT ,
You can try double-checking the selection to ensure that there are no duplicate column names, so use aliases for every column. Also, if possible, wrap your request inside Value.NativeQuery (with EnableFolding=true) function that should help with ensuring it folds back to source. Alternatively, if you have non-common data types for Power BI, you can try to normalise them in the select itself.
Native Query syntax:
Value.NativeQuery(GoogleBigQuery.Database(...), SqlAsText, null, [EnableFolding = false])- CansuT1 year agoRegular Visitor
There weren't any duplicate/ambigious column names but using aliases everywhere solved this issue.
It used to be okay to not use aliases when there the column only existed in one of the tables. Has there been a change on Google's side that led to this issue now? - danzrust11 months agoHelper IV
I had the same error. My mistake that I had two columns with the same name.
However, the ADBC implementation has extremely poor messaging. Previous implementation would you show the errors from BQ API directly in PowerBI. The new ADBC just says "UnknownError...". Very unhelpful.I just edited the source to = GoogleBigQuery.Database([BillingProject="abc"]) and completely removed new Implemetnation=2.0. That way I was able to read the error from BQ API.
- Cedric_B11 months agoNew Member
So this is related to the Entra ID / Azure option for BigQuery connector.
Even if you don't select it when adding your source, it is overwritten with the preview feature "use new Google BigQuery connector implementation".