-
Notifications
You must be signed in to change notification settings - Fork 56
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
[bug]: get_latest_partition_timestamp
: has a undeclared variable
#86
Comments
Hi, I have just encountered this issue too. To fix it, I added an output parameter in the definition of the function :
Now, I would like to add it in the source code, any idea ? |
Thanks, But unfortunately BigQuery stored procedures doesn't supports INOUT variables like Postgres. It only supports parameters of IN type, which means you can pass values into the procedure but cannot return values directly through the parameters. |
Hi @shivam221098, I have found the feature here, perhaps it is new : https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#call |
That's good to know. However, I still don't agree with the current architecture of the procedure because it is still a two-step process. I would say we can do a What are your opinions @unytics? |
Check the bug has not already been reported
Edit
function_name
and the short error description in title aboveWhat happened and what did you expect?
No matter what table I pass into this procedure, it shows me this error.
As you see this
bigfunction_result
variable is used without its declaration.The text was updated successfully, but these errors were encountered: