@pulumi/snowflake 2.19.0-alpha.1785224124 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accountAuthenticationPolicyAttachment.d.ts +11 -3
- package/accountAuthenticationPolicyAttachment.d.ts.map +1 -1
- package/accountAuthenticationPolicyAttachment.js +8 -0
- package/accountAuthenticationPolicyAttachment.js.map +1 -1
- package/accountParameter.d.ts +3 -3
- package/accountSessionPolicyAttachment.d.ts +2 -0
- package/accountSessionPolicyAttachment.d.ts.map +1 -1
- package/accountSessionPolicyAttachment.js +2 -0
- package/accountSessionPolicyAttachment.js.map +1 -1
- package/config/vars.d.ts +7 -3
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/currentAccount.d.ts +12 -0
- package/currentAccount.d.ts.map +1 -1
- package/currentAccount.js +2 -0
- package/currentAccount.js.map +1 -1
- package/currentOrganizationAccount.d.ts +12 -0
- package/currentOrganizationAccount.d.ts.map +1 -1
- package/currentOrganizationAccount.js +2 -0
- package/currentOrganizationAccount.js.map +1 -1
- package/database.d.ts +24 -0
- package/database.d.ts.map +1 -1
- package/database.js +4 -0
- package/database.js.map +1 -1
- package/fileFormat.d.ts +2 -0
- package/fileFormat.d.ts.map +1 -1
- package/fileFormat.js +2 -0
- package/fileFormat.js.map +1 -1
- package/fileFormatAvro.d.ts +215 -0
- package/fileFormatAvro.d.ts.map +1 -0
- package/fileFormatAvro.js +148 -0
- package/fileFormatAvro.js.map +1 -0
- package/fileFormatCsv.d.ts +448 -0
- package/fileFormatCsv.d.ts.map +1 -0
- package/fileFormatCsv.js +201 -0
- package/fileFormatCsv.js.map +1 -0
- package/fileFormatJson.d.ts +371 -0
- package/fileFormatJson.d.ts.map +1 -0
- package/fileFormatJson.js +184 -0
- package/fileFormatJson.js.map +1 -0
- package/fileFormatOrc.d.ts +202 -0
- package/fileFormatOrc.d.ts.map +1 -0
- package/fileFormatOrc.js +145 -0
- package/fileFormatOrc.js.map +1 -0
- package/fileFormatParquet.d.ts +254 -0
- package/fileFormatParquet.d.ts.map +1 -0
- package/fileFormatParquet.js +157 -0
- package/fileFormatParquet.js.map +1 -0
- package/fileFormatXml.d.ts +248 -0
- package/fileFormatXml.d.ts.map +1 -0
- package/fileFormatXml.js +151 -0
- package/fileFormatXml.js.map +1 -0
- package/getFileFormats.d.ts +32 -43
- package/getFileFormats.d.ts.map +1 -1
- package/getFileFormats.js +10 -30
- package/getFileFormats.js.map +1 -1
- package/getGrants.d.ts +48 -0
- package/getGrants.d.ts.map +1 -1
- package/getGrants.js +38 -0
- package/getGrants.js.map +1 -1
- package/getIcebergTables.d.ts +111 -0
- package/getIcebergTables.d.ts.map +1 -0
- package/getIcebergTables.js +67 -0
- package/getIcebergTables.js.map +1 -0
- package/getMcpServers.d.ts +75 -0
- package/getMcpServers.d.ts.map +1 -0
- package/getMcpServers.js +61 -0
- package/getMcpServers.js.map +1 -0
- package/getNetworkRules.d.ts +0 -4
- package/getNetworkRules.d.ts.map +1 -1
- package/getNetworkRules.js +0 -4
- package/getNetworkRules.js.map +1 -1
- package/icebergTable.d.ts +615 -0
- package/icebergTable.d.ts.map +1 -0
- package/icebergTable.js +361 -0
- package/icebergTable.js.map +1 -0
- package/icebergTableFromAwsGlue.d.ts +237 -0
- package/icebergTableFromAwsGlue.d.ts.map +1 -0
- package/icebergTableFromAwsGlue.js +153 -0
- package/icebergTableFromAwsGlue.js.map +1 -0
- package/icebergTableFromDeltaFiles.d.ts +5 -3
- package/icebergTableFromDeltaFiles.d.ts.map +1 -1
- package/icebergTableFromDeltaFiles.js +5 -3
- package/icebergTableFromDeltaFiles.js.map +1 -1
- package/icebergTableFromFiles.d.ts +4 -2
- package/icebergTableFromFiles.d.ts.map +1 -1
- package/icebergTableFromFiles.js +4 -2
- package/icebergTableFromFiles.js.map +1 -1
- package/icebergTableFromRest.d.ts +304 -0
- package/icebergTableFromRest.d.ts.map +1 -0
- package/icebergTableFromRest.js +170 -0
- package/icebergTableFromRest.js.map +1 -0
- package/index.d.ts +39 -0
- package/index.d.ts.map +1 -1
- package/index.js +67 -6
- package/index.js.map +1 -1
- package/legacyServiceUser.d.ts +11 -1
- package/legacyServiceUser.d.ts.map +1 -1
- package/legacyServiceUser.js +11 -1
- package/legacyServiceUser.js.map +1 -1
- package/mcpServer.d.ts +134 -0
- package/mcpServer.d.ts.map +1 -0
- package/mcpServer.js +106 -0
- package/mcpServer.js.map +1 -0
- package/oauthIntegrationForCustomClients.d.ts +13 -1
- package/oauthIntegrationForCustomClients.d.ts.map +1 -1
- package/oauthIntegrationForCustomClients.js +3 -1
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.d.ts +12 -0
- package/oauthIntegrationForPartnerApplications.d.ts.map +1 -1
- package/oauthIntegrationForPartnerApplications.js +2 -0
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +13 -3
- package/provider.d.ts.map +1 -1
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/saml2Integration.d.ts +1 -4
- package/saml2Integration.d.ts.map +1 -1
- package/saml2Integration.js +1 -4
- package/saml2Integration.js.map +1 -1
- package/schema.d.ts +24 -0
- package/schema.d.ts.map +1 -1
- package/schema.js +4 -0
- package/schema.js.map +1 -1
- package/secondaryDatabase.d.ts +24 -0
- package/secondaryDatabase.d.ts.map +1 -1
- package/secondaryDatabase.js +4 -0
- package/secondaryDatabase.js.map +1 -1
- package/serviceUser.d.ts +11 -1
- package/serviceUser.d.ts.map +1 -1
- package/serviceUser.js +11 -1
- package/serviceUser.js.map +1 -1
- package/sharedDatabase.d.ts +24 -0
- package/sharedDatabase.d.ts.map +1 -1
- package/sharedDatabase.js +4 -0
- package/sharedDatabase.js.map +1 -1
- package/stageExternalS3.d.ts +1 -0
- package/stageExternalS3.d.ts.map +1 -1
- package/stageExternalS3.js +1 -0
- package/stageExternalS3.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tagAssociation.d.ts +3 -3
- package/types/input.d.ts +1123 -49
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +1367 -120
- package/types/output.d.ts.map +1 -1
- package/userAuthenticationPolicyAttachment.d.ts +13 -7
- package/userAuthenticationPolicyAttachment.d.ts.map +1 -1
- package/userAuthenticationPolicyAttachment.js +7 -1
- package/userAuthenticationPolicyAttachment.js.map +1 -1
- package/warehouseAdaptive.d.ts +13 -0
- package/warehouseAdaptive.d.ts.map +1 -1
- package/warehouseAdaptive.js +3 -0
- package/warehouseAdaptive.js.map +1 -1
- package/warehouseInteractive.d.ts +295 -0
- package/warehouseInteractive.d.ts.map +1 -0
- package/warehouseInteractive.js +162 -0
- package/warehouseInteractive.js.map +1 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.IcebergTableFromAwsGlue = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
33
|
+
*
|
|
34
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
35
|
+
*
|
|
36
|
+
* Resource used to manage an Iceberg table whose metadata is managed by an AWS Glue catalog. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-aws-glue).
|
|
37
|
+
*
|
|
38
|
+
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
43
|
+
*
|
|
44
|
+
* // Basic - only required fields
|
|
45
|
+
* const basic = new snowflake.IcebergTableFromAwsGlue("basic", {
|
|
46
|
+
* database: "DATABASE",
|
|
47
|
+
* schema: "SCHEMA",
|
|
48
|
+
* name: "TABLE",
|
|
49
|
+
* catalogTableName: "my_catalog_table",
|
|
50
|
+
* });
|
|
51
|
+
* // Complete - all fields set
|
|
52
|
+
* const complete = new snowflake.IcebergTableFromAwsGlue("complete", {
|
|
53
|
+
* database: "DATABASE",
|
|
54
|
+
* schema: "SCHEMA",
|
|
55
|
+
* name: "TABLE",
|
|
56
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
57
|
+
* catalog: "CATALOG",
|
|
58
|
+
* catalogTableName: "my_catalog_table",
|
|
59
|
+
* catalogNamespace: "my_namespace",
|
|
60
|
+
* replaceInvalidCharacters: true,
|
|
61
|
+
* autoRefresh: "true",
|
|
62
|
+
* comment: "COMMENT",
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
67
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
68
|
+
*
|
|
69
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
70
|
+
*
|
|
71
|
+
* ## Import
|
|
72
|
+
*
|
|
73
|
+
* ```sh
|
|
74
|
+
* $ pulumi import snowflake:index/icebergTableFromAwsGlue:IcebergTableFromAwsGlue example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
class IcebergTableFromAwsGlue extends pulumi.CustomResource {
|
|
78
|
+
/**
|
|
79
|
+
* Get an existing IcebergTableFromAwsGlue resource's state with the given name, ID, and optional extra
|
|
80
|
+
* properties used to qualify the lookup.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resulting resource.
|
|
83
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
84
|
+
* @param state Any extra arguments used during the lookup.
|
|
85
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
86
|
+
*/
|
|
87
|
+
static get(name, id, state, opts) {
|
|
88
|
+
return new IcebergTableFromAwsGlue(name, state, { ...opts, id: id });
|
|
89
|
+
}
|
|
90
|
+
/** @internal */
|
|
91
|
+
static __pulumiType = 'snowflake:index/icebergTableFromAwsGlue:IcebergTableFromAwsGlue';
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of IcebergTableFromAwsGlue. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj) {
|
|
97
|
+
if (obj === undefined || obj === null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return obj['__pulumiType'] === IcebergTableFromAwsGlue.__pulumiType;
|
|
101
|
+
}
|
|
102
|
+
constructor(name, argsOrState, opts) {
|
|
103
|
+
let resourceInputs = {};
|
|
104
|
+
opts = opts || {};
|
|
105
|
+
if (opts.id) {
|
|
106
|
+
const state = argsOrState;
|
|
107
|
+
resourceInputs["autoRefresh"] = state?.autoRefresh;
|
|
108
|
+
resourceInputs["catalog"] = state?.catalog;
|
|
109
|
+
resourceInputs["catalogNamespace"] = state?.catalogNamespace;
|
|
110
|
+
resourceInputs["catalogTableName"] = state?.catalogTableName;
|
|
111
|
+
resourceInputs["comment"] = state?.comment;
|
|
112
|
+
resourceInputs["database"] = state?.database;
|
|
113
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
114
|
+
resourceInputs["externalVolume"] = state?.externalVolume;
|
|
115
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
116
|
+
resourceInputs["name"] = state?.name;
|
|
117
|
+
resourceInputs["parameters"] = state?.parameters;
|
|
118
|
+
resourceInputs["replaceInvalidCharacters"] = state?.replaceInvalidCharacters;
|
|
119
|
+
resourceInputs["schema"] = state?.schema;
|
|
120
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
const args = argsOrState;
|
|
124
|
+
if (args?.catalogTableName === undefined && !opts.urn) {
|
|
125
|
+
throw new Error("Missing required property 'catalogTableName'");
|
|
126
|
+
}
|
|
127
|
+
if (args?.database === undefined && !opts.urn) {
|
|
128
|
+
throw new Error("Missing required property 'database'");
|
|
129
|
+
}
|
|
130
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
131
|
+
throw new Error("Missing required property 'schema'");
|
|
132
|
+
}
|
|
133
|
+
resourceInputs["autoRefresh"] = args?.autoRefresh;
|
|
134
|
+
resourceInputs["catalog"] = args?.catalog;
|
|
135
|
+
resourceInputs["catalogNamespace"] = args?.catalogNamespace;
|
|
136
|
+
resourceInputs["catalogTableName"] = args?.catalogTableName;
|
|
137
|
+
resourceInputs["comment"] = args?.comment;
|
|
138
|
+
resourceInputs["database"] = args?.database;
|
|
139
|
+
resourceInputs["externalVolume"] = args?.externalVolume;
|
|
140
|
+
resourceInputs["name"] = args?.name;
|
|
141
|
+
resourceInputs["replaceInvalidCharacters"] = args?.replaceInvalidCharacters;
|
|
142
|
+
resourceInputs["schema"] = args?.schema;
|
|
143
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
144
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["parameters"] = undefined /*out*/;
|
|
146
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
147
|
+
}
|
|
148
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
149
|
+
super(IcebergTableFromAwsGlue.__pulumiType, name, resourceInputs, opts);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
exports.IcebergTableFromAwsGlue = IcebergTableFromAwsGlue;
|
|
153
|
+
//# sourceMappingURL=icebergTableFromAwsGlue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icebergTableFromAwsGlue.js","sourceRoot":"","sources":["../icebergTableFromAwsGlue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D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CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5IL,0DA6IC"}
|
|
@@ -4,13 +4,12 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
6
6
|
*
|
|
7
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
8
|
+
*
|
|
7
9
|
* Resource used to manage an Iceberg table whose metadata is created from Delta table files in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-delta).
|
|
8
10
|
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
|
-
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
12
|
-
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
13
|
-
*
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -36,6 +35,9 @@ import * as outputs from "./types/output";
|
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
37
|
*
|
|
38
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
39
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
40
|
+
*
|
|
39
41
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
40
42
|
*
|
|
41
43
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icebergTableFromDeltaFiles.d.ts","sourceRoot":"","sources":["../icebergTableFromDeltaFiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"icebergTableFromDeltaFiles.d.ts","sourceRoot":"","sources":["../icebergTableFromDeltaFiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,E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is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
33
33
|
*
|
|
34
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
35
|
+
*
|
|
34
36
|
* Resource used to manage an Iceberg table whose metadata is created from Delta table files in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-delta).
|
|
35
37
|
*
|
|
36
38
|
* ## Example Usage
|
|
37
39
|
*
|
|
38
|
-
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
39
|
-
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
40
|
-
*
|
|
41
40
|
* ```typescript
|
|
42
41
|
* import * as pulumi from "@pulumi/pulumi";
|
|
43
42
|
* import * as snowflake from "@pulumi/snowflake";
|
|
@@ -63,6 +62,9 @@ const utilities = __importStar(require("./utilities"));
|
|
|
63
62
|
* });
|
|
64
63
|
* ```
|
|
65
64
|
*
|
|
65
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
66
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
67
|
+
*
|
|
66
68
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
67
69
|
*
|
|
68
70
|
* ## Import
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icebergTableFromDeltaFiles.js","sourceRoot":"","sources":["../icebergTableFromDeltaFiles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"icebergTableFromDeltaF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C;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;;AAtIL,gEAuIC"}
|
|
@@ -4,6 +4,10 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
6
6
|
*
|
|
7
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
8
|
+
*
|
|
9
|
+
* > **Note** External changes to `metadataFilePath` are not detected. This value is not read back from Snowflake during refresh, so updates to the underlying Iceberg metadata file (for example, refreshing the table to a new metadata file outside of Terraform) will not produce a drift in the pulumi preview. After import, the first `pulumi preview` may show a resource recreation for write-only non-alterable fields that are not reconciled with Snowflake. Run `pulumi up` once to sync these values into state.
|
|
10
|
+
*
|
|
7
11
|
* Resource used to manage an Iceberg table whose metadata is created from an existing Apache Iceberg metadata file in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-iceberg-files).
|
|
8
12
|
*
|
|
9
13
|
* ## Example Usage
|
|
@@ -38,8 +42,6 @@ import * as outputs from "./types/output";
|
|
|
38
42
|
*
|
|
39
43
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
40
44
|
*
|
|
41
|
-
* > **Note** External changes to `metadataFilePath` are not detected. This value is not read back from Snowflake during refresh, so updates to the underlying Iceberg metadata file (for example, refreshing the table to a new metadata file outside of Terraform) will not produce a drift in the pulumi preview. After import, the first `pulumi preview` may show a resource recreation for write-only non-alterable fields that are not reconciled with Snowflake. Run `pulumi up` once to sync these values into state.
|
|
42
|
-
*
|
|
43
45
|
* ## Import
|
|
44
46
|
*
|
|
45
47
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icebergTableFromFiles.d.ts","sourceRoot":"","sources":["../icebergTableFromFiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"icebergTableFromFiles.d.ts","sourceRoot":"","sources":["../icebergTableFromFiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH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OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAClG;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
package/icebergTableFromFiles.js
CHANGED
|
@@ -31,6 +31,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
33
33
|
*
|
|
34
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
35
|
+
*
|
|
36
|
+
* > **Note** External changes to `metadataFilePath` are not detected. This value is not read back from Snowflake during refresh, so updates to the underlying Iceberg metadata file (for example, refreshing the table to a new metadata file outside of Terraform) will not produce a drift in the pulumi preview. After import, the first `pulumi preview` may show a resource recreation for write-only non-alterable fields that are not reconciled with Snowflake. Run `pulumi up` once to sync these values into state.
|
|
37
|
+
*
|
|
34
38
|
* Resource used to manage an Iceberg table whose metadata is created from an existing Apache Iceberg metadata file in an external volume. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-iceberg-files).
|
|
35
39
|
*
|
|
36
40
|
* ## Example Usage
|
|
@@ -65,8 +69,6 @@ const utilities = __importStar(require("./utilities"));
|
|
|
65
69
|
*
|
|
66
70
|
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
67
71
|
*
|
|
68
|
-
* > **Note** External changes to `metadataFilePath` are not detected. This value is not read back from Snowflake during refresh, so updates to the underlying Iceberg metadata file (for example, refreshing the table to a new metadata file outside of Terraform) will not produce a drift in the pulumi preview. After import, the first `pulumi preview` may show a resource recreation for write-only non-alterable fields that are not reconciled with Snowflake. Run `pulumi up` once to sync these values into state.
|
|
69
|
-
*
|
|
70
72
|
* ## Import
|
|
71
73
|
*
|
|
72
74
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icebergTableFromFiles.js","sourceRoot":"","sources":["../icebergTableFromFiles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"icebergTableF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,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAhIL,sDAiIC"}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** Due to Snowflake limitations, external changes to the external cloud storage type is not detected.
|
|
8
|
+
*
|
|
9
|
+
* > **Note** External changes to `pathLayout` are not detected. This value is not read back from Snowflake during refresh. After import, the first `pulumi preview` may show a resource recreation for write-only non-alterable fields that are not reconciled with Snowflake. Run `pulumi up` once to sync these values into state.
|
|
10
|
+
*
|
|
11
|
+
* Resource used to manage an Iceberg table whose metadata is managed by an external Iceberg REST catalog. For more information, check [the official documentation](https://docs.snowflake.com/en/sql-reference/sql/create-iceberg-table-rest).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
18
|
+
*
|
|
19
|
+
* // Basic - only required fields
|
|
20
|
+
* const basic = new snowflake.IcebergTableFromRest("basic", {
|
|
21
|
+
* database: "DATABASE",
|
|
22
|
+
* schema: "SCHEMA",
|
|
23
|
+
* name: "TABLE",
|
|
24
|
+
* catalogTableName: "my_catalog_table",
|
|
25
|
+
* });
|
|
26
|
+
* // Complete - all fields set
|
|
27
|
+
* const complete = new snowflake.IcebergTableFromRest("complete", {
|
|
28
|
+
* database: "DATABASE",
|
|
29
|
+
* schema: "SCHEMA",
|
|
30
|
+
* name: "TABLE",
|
|
31
|
+
* externalVolume: "EXTERNAL_VOLUME",
|
|
32
|
+
* catalog: "CATALOG",
|
|
33
|
+
* catalogTableName: "my_catalog_table",
|
|
34
|
+
* catalogNamespace: "my_namespace",
|
|
35
|
+
* pathLayout: "HIERARCHICAL",
|
|
36
|
+
* targetFileSize: "128MB",
|
|
37
|
+
* replaceInvalidCharacters: true,
|
|
38
|
+
* autoRefresh: "true",
|
|
39
|
+
* comment: "COMMENT",
|
|
40
|
+
* storageSerializationPolicy: "OPTIMIZED",
|
|
41
|
+
* icebergMergeOnReadBehavior: "ENABLED",
|
|
42
|
+
* enableIcebergMergeOnRead: true,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
47
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
48
|
+
*
|
|
49
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import snowflake:index/icebergTableFromRest:IcebergTableFromRest example '"<database_name>"."<schema_name>"."<table_name>"'
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class IcebergTableFromRest extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing IcebergTableFromRest resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: IcebergTableFromRestState, opts?: pulumi.CustomResourceOptions): IcebergTableFromRest;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of IcebergTableFromRest. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is IcebergTableFromRest;
|
|
73
|
+
/**
|
|
74
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the external catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
75
|
+
*/
|
|
76
|
+
readonly autoRefresh: pulumi.Output<string | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
79
|
+
*/
|
|
80
|
+
readonly catalog: pulumi.Output<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Specifies the namespace (or database) in the external catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
83
|
+
*/
|
|
84
|
+
readonly catalogNamespace: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Specifies the name of the table as it appears in the external catalog.
|
|
87
|
+
*/
|
|
88
|
+
readonly catalogTableName: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* Specifies a comment for the Iceberg table.
|
|
91
|
+
*/
|
|
92
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
95
|
+
*/
|
|
96
|
+
readonly database: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
99
|
+
*/
|
|
100
|
+
readonly describeOutputs: pulumi.Output<outputs.IcebergTableFromRestDescribeOutput[]>;
|
|
101
|
+
/**
|
|
102
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
103
|
+
*/
|
|
104
|
+
readonly enableIcebergMergeOnRead: pulumi.Output<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
107
|
+
*/
|
|
108
|
+
readonly externalVolume: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
111
|
+
*/
|
|
112
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Specifies the merge-on-read behavior for the Iceberg table. Valid values are: [AUTO ENABLED DISABLED]. Cannot be changed after creation. For more information, check [ICEBERG*MERGE*ON*READ*BEHAVIOR docs](https://docs.snowflake.com/en/sql-reference/parameters#iceberg-merge-on-read-behavior).
|
|
115
|
+
*/
|
|
116
|
+
readonly icebergMergeOnReadBehavior: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
119
|
+
*/
|
|
120
|
+
readonly name: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
123
|
+
*/
|
|
124
|
+
readonly parameters: pulumi.Output<outputs.IcebergTableFromRestParameter[]>;
|
|
125
|
+
/**
|
|
126
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
127
|
+
*/
|
|
128
|
+
readonly pathLayout: pulumi.Output<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
131
|
+
*/
|
|
132
|
+
readonly replaceInvalidCharacters: pulumi.Output<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
135
|
+
*/
|
|
136
|
+
readonly schema: pulumi.Output<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
139
|
+
*/
|
|
140
|
+
readonly showOutputs: pulumi.Output<outputs.IcebergTableFromRestShowOutput[]>;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
143
|
+
*/
|
|
144
|
+
readonly storageSerializationPolicy: pulumi.Output<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
147
|
+
*/
|
|
148
|
+
readonly targetFileSize: pulumi.Output<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Create a IcebergTableFromRest resource with the given unique name, arguments, and options.
|
|
151
|
+
*
|
|
152
|
+
* @param name The _unique_ name of the resource.
|
|
153
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
154
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
155
|
+
*/
|
|
156
|
+
constructor(name: string, args: IcebergTableFromRestArgs, opts?: pulumi.CustomResourceOptions);
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Input properties used for looking up and filtering IcebergTableFromRest resources.
|
|
160
|
+
*/
|
|
161
|
+
export interface IcebergTableFromRestState {
|
|
162
|
+
/**
|
|
163
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the external catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
164
|
+
*/
|
|
165
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
168
|
+
*/
|
|
169
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* Specifies the namespace (or database) in the external catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
172
|
+
*/
|
|
173
|
+
catalogNamespace?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Specifies the name of the table as it appears in the external catalog.
|
|
176
|
+
*/
|
|
177
|
+
catalogTableName?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Specifies a comment for the Iceberg table.
|
|
180
|
+
*/
|
|
181
|
+
comment?: pulumi.Input<string | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
184
|
+
*/
|
|
185
|
+
database?: pulumi.Input<string | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Outputs the result of `DESCRIBE ICEBERG TABLE` for the given Iceberg table.
|
|
188
|
+
*/
|
|
189
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromRestDescribeOutput>[] | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
192
|
+
*/
|
|
193
|
+
enableIcebergMergeOnRead?: pulumi.Input<boolean | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
196
|
+
*/
|
|
197
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
200
|
+
*/
|
|
201
|
+
fullyQualifiedName?: pulumi.Input<string | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Specifies the merge-on-read behavior for the Iceberg table. Valid values are: [AUTO ENABLED DISABLED]. Cannot be changed after creation. For more information, check [ICEBERG*MERGE*ON*READ*BEHAVIOR docs](https://docs.snowflake.com/en/sql-reference/parameters#iceberg-merge-on-read-behavior).
|
|
204
|
+
*/
|
|
205
|
+
icebergMergeOnReadBehavior?: pulumi.Input<string | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
208
|
+
*/
|
|
209
|
+
name?: pulumi.Input<string | undefined>;
|
|
210
|
+
/**
|
|
211
|
+
* Outputs the result of `SHOW PARAMETERS IN ICEBERG TABLE` for the given Iceberg table.
|
|
212
|
+
*/
|
|
213
|
+
parameters?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromRestParameter>[] | undefined>;
|
|
214
|
+
/**
|
|
215
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
216
|
+
*/
|
|
217
|
+
pathLayout?: pulumi.Input<string | undefined>;
|
|
218
|
+
/**
|
|
219
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
220
|
+
*/
|
|
221
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
222
|
+
/**
|
|
223
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
224
|
+
*/
|
|
225
|
+
schema?: pulumi.Input<string | undefined>;
|
|
226
|
+
/**
|
|
227
|
+
* Outputs the result of `SHOW ICEBERG TABLES` for the given Iceberg table. Note that this value will be only recomputed whenever values of fields affecting the output change.
|
|
228
|
+
*/
|
|
229
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.IcebergTableFromRestShowOutput>[] | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
232
|
+
*/
|
|
233
|
+
storageSerializationPolicy?: pulumi.Input<string | undefined>;
|
|
234
|
+
/**
|
|
235
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
236
|
+
*/
|
|
237
|
+
targetFileSize?: pulumi.Input<string | undefined>;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* The set of arguments for constructing a IcebergTableFromRest resource.
|
|
241
|
+
*/
|
|
242
|
+
export interface IcebergTableFromRestArgs {
|
|
243
|
+
/**
|
|
244
|
+
* (Default: fallback to Snowflake default - uses special value that cannot be set in the configuration manually (`default`)) Specifies whether Snowflake should periodically refresh the Iceberg table metadata from the external catalog. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
|
|
245
|
+
*/
|
|
246
|
+
autoRefresh?: pulumi.Input<string | undefined>;
|
|
247
|
+
/**
|
|
248
|
+
* Specifies the identifier for the catalog integration to use for the Iceberg table. If not specified, the account-level default is used.
|
|
249
|
+
*/
|
|
250
|
+
catalog?: pulumi.Input<string | undefined>;
|
|
251
|
+
/**
|
|
252
|
+
* Specifies the namespace (or database) in the external catalog that the table belongs to. If not specified, the catalog integration's default namespace is used.
|
|
253
|
+
*/
|
|
254
|
+
catalogNamespace?: pulumi.Input<string | undefined>;
|
|
255
|
+
/**
|
|
256
|
+
* Specifies the name of the table as it appears in the external catalog.
|
|
257
|
+
*/
|
|
258
|
+
catalogTableName: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Specifies a comment for the Iceberg table.
|
|
261
|
+
*/
|
|
262
|
+
comment?: pulumi.Input<string | undefined>;
|
|
263
|
+
/**
|
|
264
|
+
* The database in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
265
|
+
*/
|
|
266
|
+
database: pulumi.Input<string>;
|
|
267
|
+
/**
|
|
268
|
+
* Specifies whether merge-on-read is enabled for the Iceberg table. For more information, check [ENABLE*ICEBERG*MERGE*ON*READ docs](https://docs.snowflake.com/en/sql-reference/parameters#enable-iceberg-merge-on-read).
|
|
269
|
+
*/
|
|
270
|
+
enableIcebergMergeOnRead?: pulumi.Input<boolean | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* Specifies the identifier for the external volume where the Iceberg table stores its metadata files and data in Parquet format. If not specified, the account-level default is used.
|
|
273
|
+
*/
|
|
274
|
+
externalVolume?: pulumi.Input<string | undefined>;
|
|
275
|
+
/**
|
|
276
|
+
* Specifies the merge-on-read behavior for the Iceberg table. Valid values are: [AUTO ENABLED DISABLED]. Cannot be changed after creation. For more information, check [ICEBERG*MERGE*ON*READ*BEHAVIOR docs](https://docs.snowflake.com/en/sql-reference/parameters#iceberg-merge-on-read-behavior).
|
|
277
|
+
*/
|
|
278
|
+
icebergMergeOnReadBehavior?: pulumi.Input<string | undefined>;
|
|
279
|
+
/**
|
|
280
|
+
* Specifies the identifier for the Iceberg table; must be unique for the schema in which the Iceberg table is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
281
|
+
*/
|
|
282
|
+
name?: pulumi.Input<string | undefined>;
|
|
283
|
+
/**
|
|
284
|
+
* Specifies the storage layout for the Iceberg table's Parquet files. Valid values are: [FLAT HIERARCHICAL]. Cannot be changed after creation. External changes for this field won't be detected. In case you want to apply external changes, you can re-create the resource manually using "terraform taint".
|
|
285
|
+
*/
|
|
286
|
+
pathLayout?: pulumi.Input<string | undefined>;
|
|
287
|
+
/**
|
|
288
|
+
* Specifies whether to replace invalid UTF-8 characters with the Unicode replacement character (`�`) in query results for an Iceberg table. For more information, check [REPLACE*INVALID*CHARACTERS docs](https://docs.snowflake.com/en/sql-reference/parameters#replace-invalid-characters).
|
|
289
|
+
*/
|
|
290
|
+
replaceInvalidCharacters?: pulumi.Input<boolean | undefined>;
|
|
291
|
+
/**
|
|
292
|
+
* The schema in which to create the Iceberg table. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
|
|
293
|
+
*/
|
|
294
|
+
schema: pulumi.Input<string>;
|
|
295
|
+
/**
|
|
296
|
+
* Specifies the storage serialization policy for the Iceberg table. Valid values are: [COMPATIBLE OPTIMIZED]. Cannot be changed after creation. For more information, check [STORAGE*SERIALIZATION*POLICY docs](https://docs.snowflake.com/en/sql-reference/parameters#storage-serialization-policy).
|
|
297
|
+
*/
|
|
298
|
+
storageSerializationPolicy?: pulumi.Input<string | undefined>;
|
|
299
|
+
/**
|
|
300
|
+
* Specifies the target file size (in bytes) used when writing the Iceberg table's Parquet files. Valid values are: [AUTO 16MB 32MB 64MB 128MB]. For more information, check [TARGET*FILE*SIZE docs](https://docs.snowflake.com/en/sql-reference/parameters#target-file-size).
|
|
301
|
+
*/
|
|
302
|
+
targetFileSize?: pulumi.Input<string | undefined>;
|
|
303
|
+
}
|
|
304
|
+
//# sourceMappingURL=icebergTableFromRest.d.ts.map
|