Skip to content

Commit

Permalink
NO-SNOW (issue #1040) add a little bit more clarification how to spec…
Browse files Browse the repository at this point in the history
…ify location for the external table
  • Loading branch information
sfc-gh-dszmolka committed Dec 28, 2024
1 parent 646a84b commit f88b0e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/external_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "snowflake_external_table" "external_table" {
- `column` (Block List, Min: 1) Definitions of a column to create in the external table. Minimum one required. (see [below for nested schema](#nestedblock--column))
- `database` (String) The database in which to create the external table.
- `file_format` (String) Specifies the file format for the external table.
- `location` (String) Specifies a location for the external table.
- `location` (String) Specifies a location for the external table, using its FQDN. You can hardcode it (`"@MYDB.MYSCHEMA.MYSTAGE"`), or populate dynamically (`"@${snowflake_database.mydb.name}.${snowflake_schema.myschema.name}.${snowflake_stage.mystage.name}"`)
- `name` (String) Specifies the identifier for the external table; must be unique for the database and schema in which the externalTable is created.
- `schema` (String) The schema in which to create the external table.

Expand Down
2 changes: 1 addition & 1 deletion pkg/resources/external_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var externalTableSchema = map[string]*schema.Schema{
Type: schema.TypeString,
Required: true,
ForceNew: true,
Description: "Specifies a location for the external table.",
Description: "Specifies a location for the external table, using its FQDN. You can hardcode it (`\"@MYDB.MYSCHEMA.MYSTAGE\"`), or populate dynamically (`\"@${snowflake_database.mydb.name}.${snowflake_schema.myschema.name}.${snowflake_stage.mystage.name}\"`)",
},
"file_format": {
Type: schema.TypeString,
Expand Down

0 comments on commit f88b0e3

Please sign in to comment.