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

Snowflake view with no reference table #2085

Closed
snowflakecausr opened this issue Sep 29, 2023 · 2 comments
Closed

Snowflake view with no reference table #2085

snowflakecausr opened this issue Sep 29, 2023 · 2 comments
Labels
bug Used to mark issues with provider's incorrect behavior category:resource resource:view Issue connected to the snowflake_view resource

Comments

@snowflakecausr
Copy link

Provider Version

The provider version you are using.

Terraform Version

The version of Terraform you were using when the bug was encountered.

Describe the bug

Running Terraform fmt on snowflake_view with no table reference will crash and return code 3

Expected behavior

Creation of a view without table reference should be possible

Code samples and commands

statement = <<-SQL
SELECT NULL AS TYPE;
SQL

Additional context

Add any other context about the problem here.

@snowflakecausr snowflakecausr added the bug Used to mark issues with provider's incorrect behavior label Sep 29, 2023
@sfc-gh-jcieslak sfc-gh-jcieslak added category:resource resource:view Issue connected to the snowflake_view resource labels May 20, 2024
@sfc-gh-jcieslak
Copy link
Collaborator

Hey @snowflakecausr 👋
Yesterday, we released a new provider version (v0.95.0) that contains many upgrades to views. Please upgrade using the migration guide and let us know if you observe the same issues. If yes, please upload logs from the terraform apply with TF_LOG=DEBUG environment variable set.

@sfc-gh-jmichalak
Copy link
Collaborator

Closing the issue due to inactivity. Please create a new one if the issue persists in the newest version of the provider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to mark issues with provider's incorrect behavior category:resource resource:view Issue connected to the snowflake_view resource
Projects
None yet
Development

No branches or pull requests

3 participants