Skip to content
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

[Feature]: Add support for optional/default arguments for snowflake_function resources #3097

Closed
1 task
deanmorin opened this issue Sep 20, 2024 · 4 comments
Closed
1 task
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@deanmorin
Copy link
Contributor

deanmorin commented Sep 20, 2024

Use Cases or Problem Statement

I want to create a function that has an optional/default argument, as specified in the Snowflake Documentation.

Category

category:resource

Object type(s)

resource:function

Proposal

Add a default argument to the arguments block in the snowflake_function resource. This is identical to the same proposal for procedures.

How much impact is this issue causing?

Medium

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@deanmorin deanmorin added the feature-request Used to mark issues with provider's missing functionalities label Sep 20, 2024
@sfc-gh-jmichalak
Copy link
Collaborator

Hi @deanmorin 👋
Functions and procedures are currently being reworked, and this will be supported in one of the next releases. cc @sfc-gh-asawicki

@sfc-gh-asawicki
Copy link
Collaborator

Hey @deanmorin.

In v0.100.0, we have introduced new function resources. Default values for arguments are now supported (with some Snowflake limitations). Please check it out and let us know if this solves your need.

@deanmorin
Copy link
Contributor Author

@sfc-gh-asawicki I don't have anymore functions with default args, but I tried it out for procedures in v1.0.0 and so far so good!

BTW I did run into an issue when switching to the new resource type #3297

@sfc-gh-asawicki
Copy link
Collaborator

Hey @deanmorin.

I will close this issue then as it was added to functions.

About the #3297 - let's continue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

3 participants