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

[Feature]: Create External Table for GCP #2881

Open
1 task
reason1241 opened this issue Jun 21, 2024 · 1 comment
Open
1 task

[Feature]: Create External Table for GCP #2881

reason1241 opened this issue Jun 21, 2024 · 1 comment
Labels
feature-request Used to mark issues with provider's missing functionalities resource:external_table Issue connected to the snowflake_external_table resource

Comments

@reason1241
Copy link

reason1241 commented Jun 21, 2024

Use Cases or Problem Statement

There is an official article("https://docs.snowflake.com/en/sql-reference/sql/create-external-table") for integrating snowflake external tables with GCS.
It states the "INTEGRATION" parameter is necessary for integrating GCS.

However, the current "snowflake_external_table" resource doesn't support the "integration" parameter.
https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/external_table

Therefore, it should be implemented to integrate snowflake external tables with GCS automatically.

Category

category:resource

Object type(s)

external table

Proposal

The parameter needs to be implemented.

How much impact is this issue causing?

High

Additional Information

None

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@reason1241 reason1241 added the feature-request Used to mark issues with provider's missing functionalities label Jun 21, 2024
@sfc-gh-asawicki
Copy link
Collaborator

Hey @reason1241. Thanks for reaching out to us.

This parameter is already ready in our SDK (

GoogleCloudStorageIntegration *string `ddl:"parameter,single_quotes" sql:"INTEGRATION"`
), however, it is yet not exposed on the resource side. We will address this resource redesign as part of https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#preparing-the-rest-of-the-fundamental-ga-objects-for-the-provider-v1.

In the meantime, you can use (with caution) https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/unsafe_execute capable of running any SQL statement.

@sfc-gh-asawicki sfc-gh-asawicki added the resource:external_table Issue connected to the snowflake_external_table resource label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities resource:external_table Issue connected to the snowflake_external_table resource
Projects
None yet
Development

No branches or pull requests

2 participants