-
Notifications
You must be signed in to change notification settings - Fork 427
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
feat: Support for selecting language in snowflake_procedure #1010
feat: Support for selecting language in snowflake_procedure #1010
Conversation
Do I need to do something in particular to get the approval to run the workflows? |
Hi! Thank you for being patient! We were fixing some go package updates, we'll take a look at this soon! In the meantime, can you fix the conflicts? |
Implements Snowflake-Labs#948 The previous behaviour was always setting `JAVASCRIPT` as language. The implementation in this PR breaks the "backwards compatibility" with that rule to honor the Snowflake default: `SQL`.
cf5b089
to
5f89c28
Compare
@alldoami Done, now the docs should be up to date too. However, I'm struggling here. The definition of In fact, the docs generated for |
Our docs are generated from the resource definition schemas! So for |
/ok-to-test sha=593de0a |
Integration tests failure for 593de0a |
Yes and no 😅 . The descriptions get updated as expected, but the problem is with the sample code generated. Running
However, for
ℹ️ The three of them share the same* definition for arguments, which it is "arguments": {
Type: schema.TypeList,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"name": {
Type: schema.TypeString,
Required: true,
Description: "The argument name",
},
"type": {
Type: schema.TypeString,
Required: true,
Description: "The argument type",
},
},
},
Optional: true,
Description: "List of the arguments for the procedure",
ForceNew: true,
},
Am I missing something obvious? 🤔 |
@emancu examples are written here manually :) https://github.com/Snowflake-Labs/terraform-provider-snowflake/tree/main/examples/resources |
@alldoami Thank you so much! |
/ok-to-test sha=af431be |
Integration tests failure for af431be |
1 similar comment
Integration tests failure for af431be |
Implements #948
The previous behaviour was always setting
JAVASCRIPT
as language.The implementation in this PR breaks the "backwards compatibility" with that rule to honour the Snowflake default:
SQL
.In addition, documentation for
procedure_grant
andfunction_grant
is updated too.References