The snowflake_functions
data source (v0.53) does not return functions that it did in V0.52
#1479
Labels
bug
Used to mark issues with provider's incorrect behavior
category:data_source
data_source:functions
Issue connected to the snowflake_functions data source
Provider Version
0.53
Terraform Version
v0.13.5
Describe the bug
The
snowflake_functions
data source does not return functions that it did in V0.52Expected behavior
The
snowflake_functions
data source should return the functions in the given database/schema.Code samples and commands
The function
TERRAFORM_POC_2.IMPORT_TEST.TEST_FUNC()
exists:The data source returns the function using V0.52:
But not in V0.53 (no outputs):
Terraform config:
Using Debug produces error
unable to scan row for SHOW USER FUNCTIONS IN SCHEMA "TERRAFORM_POC_2"."IMPORT_TEST" err = %!w(<nil>): timestamp=2023-01-17T14:15:48.431-0800
:TF_LOG=DEBUG terraform apply
...
Additional context
This comment looks suspect/relevant:
https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/pkg/datasources/functions.go#L68
The text was updated successfully, but these errors were encountered: