Closed epmenard-ia closed 2 months ago
Hi @epmenard-ia 👋
You closed this issue. Is it still relevant? Functions are currently being reworked, so we'll take a look at this issue then.
Also, as @sfc-gh-jcieslak noticed, your configuration has null_input_behavior, which is not supported for SQL functions (docs).
cc @sfc-gh-asawicki
Hi, turns out extensive testing changed the source of the issue so I closed it. I’ll open a new one regarding the actual problem, thanks for the follow up!
From: Jakub Michalak @.> Sent: September 19, 2024 4:08 AM To: Snowflake-Labs/terraform-provider-snowflake @.> Cc: Ménard, Eric Pierre @.>; Mention @.> Subject: Re: [Snowflake-Labs/terraform-provider-snowflake] [Bug]: Function with multiline statement adds \n and fails (Issue #3089)
!!Attention COURRIEL EXTERNE/EXTERNAL EMAIL
You closed this issue. Is it still relevant? Functions are currently being reworked, so we'll take a look at this issue then.
cc @sfc-gh-asawickihttps://urldefense.com/v3/__https:/github.com/sfc-gh-asawicki__;!!C_xIDw!swjlGWMRvb3pkC3UyOlB9ezus6Uejzdo2mJqBJ1oAdPMbRYURWU7xGQgTWS_6cTCnWcw5Y4EOuMG89S_yC5792C7ewicsA$
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Snowflake-Labs/terraform-provider-snowflake/issues/3089*issuecomment-2360280336__;Iw!!C_xIDw!swjlGWMRvb3pkC3UyOlB9ezus6Uejzdo2mJqBJ1oAdPMbRYURWU7xGQgTWS_6cTCnWcw5Y4EOuMG89S_yC5792AYPKnr7A$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BLMSRXXEXFQZCEZRC4RPEPDZXKA6PAVCNFSM6AAAAABOOG75TOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRQGI4DAMZTGY__;!!C_xIDw!swjlGWMRvb3pkC3UyOlB9ezus6Uejzdo2mJqBJ1oAdPMbRYURWU7xGQgTWS_6cTCnWcw5Y4EOuMG89S_yC5792AvCz7P1w$. You are receiving this because you were mentioned.Message ID: @.**@.>>
Terraform CLI Version
1.9.4
Terraform Provider Version
0.95.0
Terraform Configuration
Category
category:resource
Object type(s)
resource:function
Expected Behavior
Actual Behavior
provider adds a return_behavior defaulted to VOLATILE.
Apply fails
Steps to Reproduce
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?