Closed Tang8330 closed 1 year ago
I think this lib is bugging out because it doesn't like the temporary table.
Reason why it says 4 positional args is because there's 4 rows in the temp table. I just tried to update one row and I got the error for one positional arg.
See the official BQ docs on WITH
- https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#roster_table
Thanks for raising issue, it should be patched, the issue was in checkQueryParameters (as commented we had very basic way detecting binding parameters, improved it a little bit), expected 4 arguments came from false-positive binding parameter detection as '?' or @, it has nothing to do with temp table usage.
Awesome. Thanks for the quick fix.
On Sat, Jan 28, 2023, 6:48 PM adranwit @.***> wrote:
Thanks for raising issue, it should be patched,
— Reply to this email directly, view it on GitHub https://github.com/viant/bigquery/issues/5#issuecomment-1407544288, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBVGKDF6UKVWW3OK3TVFH3WUXK7HANCNFSM6AAAAAAUJY3QLM . You are receiving this because you authored the thread.Message ID: @.***>
The SDK errors out and outputs an error:
However, this syntax is valid in BigQuery