Open yo0824 opened 4 weeks ago
1.9.2
0.93.0
resource "snowflake_function" "test" { database = "TEST_DB" schema = "TEST_SCHEMA" name = "TEST" return_type = <<-EOT TABLE ( "PoC" BOOLEAN ) EOT statement = "select true" }
category:resource
resource:function
terraform apply successfully creates a table function.
terraform apply
terraform apply fails with the following error message :
│ Error: 001003 (42000): SQL compilation error: │ syntax error line 1 at position 58 unexpected 'VOLATILE'.
Medium
No response
Hey 👋 Thanks for reporting this issue. We'll take a closer look at it when preparing function resource for v1. It's in our essential objects list, so we should pick it up sooner than later.
Terraform CLI Version
1.9.2
Terraform Provider Version
0.93.0
Terraform Configuration
Category
category:resource
Object type(s)
resource:function
Expected Behavior
terraform apply
successfully creates a table function.Actual Behavior
terraform apply
fails with the following error message :Steps to Reproduce
terraform apply
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?