Skip to content

Commit

Permalink
Fix for 2283 (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Dec 21, 2023
1 parent e542b67 commit bbad5c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/resources/external_table.go
Expand Up @@ -178,7 +178,8 @@ func CreateExternalTable(d *schema.ResourceData, meta any) error {
req.WithCopyGrants(sdk.Bool(d.Get("copy_grants").(bool)))

if v, ok := d.GetOk("partition_by"); ok {
req.WithPartitionBy(v.([]string))
partitionBy := expandStringList(v.([]any))
req.WithPartitionBy(partitionBy)
}

if v, ok := d.GetOk("pattern"); ok {
Expand Down

0 comments on commit bbad5c6

Please sign in to comment.