CSV snowflake_file_format errors and doesn't set system default when omitting optional values #1613
Labels
bug
Used to mark issues with provider's incorrect behavior
category:resource
resource:file_format
Issue connected to the snowflake_file_format resource
Provider Version
v0.58.0
Terraform Version
v1.3.4
Describe the bug
When you omit any of the optional values for a CSV file format terraform errors, for example:
You end up having to explicitly define every optional value even when you are using the system defaults.
If you create the file format directly in Snowflake you don't need to define all the optional values, they are defaulted.
This seems to happen when any of the optional values are omitted: binary_format, encoding, escape, escape_unenclosed_field, field_optionally_enclosed_by, field_delimiter, skip_header, compression,
Expected behavior
There should be no error and the system default for the omitted value should be used E.g. record_delimiter = "\n".
Please add code examples and commands that were run to cause the problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: