@dataform/core 3.0.0-alpha.0 → 3.0.0-alpha.2
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/bundle.js +2 -2
- package/core.proto +25 -2
- package/package.json +1 -1
package/core.proto
CHANGED
|
@@ -37,6 +37,8 @@ message ProjectConfig {
|
|
|
37
37
|
string schema_suffix = 7;
|
|
38
38
|
string table_prefix = 11;
|
|
39
39
|
|
|
40
|
+
string dataform_core_version = 17;
|
|
41
|
+
|
|
40
42
|
reserved 3, 4, 6, 8, 10, 12, 13;
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -47,7 +49,7 @@ message CompileConfig {
|
|
|
47
49
|
// A list of all files in the project directory.
|
|
48
50
|
repeated string file_paths = 8;
|
|
49
51
|
|
|
50
|
-
// Project configuration overrides
|
|
52
|
+
// Project configuration overrides.
|
|
51
53
|
ProjectConfig project_config_override = 3;
|
|
52
54
|
|
|
53
55
|
// Override compilation timeout settings.
|
|
@@ -139,6 +141,12 @@ enum TableType {
|
|
|
139
141
|
}
|
|
140
142
|
|
|
141
143
|
message Table {
|
|
144
|
+
// For legacy compatability reasons, both incremental tables and views are
|
|
145
|
+
// configured in compiled graphs via the Table proto.
|
|
146
|
+
TableType enum_type = 36;
|
|
147
|
+
|
|
148
|
+
ActionConfig config = 37;
|
|
149
|
+
|
|
142
150
|
Target target = 4;
|
|
143
151
|
Target canonical_target = 32;
|
|
144
152
|
|
|
@@ -151,7 +159,6 @@ message Table {
|
|
|
151
159
|
string query = 5;
|
|
152
160
|
bool protected = 9;
|
|
153
161
|
bool materialized = 35;
|
|
154
|
-
TableType enum_type = 36;
|
|
155
162
|
|
|
156
163
|
ActionDescriptor action_descriptor = 24;
|
|
157
164
|
|
|
@@ -178,6 +185,8 @@ message Table {
|
|
|
178
185
|
}
|
|
179
186
|
|
|
180
187
|
message Operation {
|
|
188
|
+
ActionConfig config = 15;
|
|
189
|
+
|
|
181
190
|
Target target = 3;
|
|
182
191
|
Target canonical_target = 13;
|
|
183
192
|
repeated Target dependency_targets = 11;
|
|
@@ -199,6 +208,8 @@ message Operation {
|
|
|
199
208
|
}
|
|
200
209
|
|
|
201
210
|
message Assertion {
|
|
211
|
+
ActionConfig config = 16;
|
|
212
|
+
|
|
202
213
|
Target target = 8;
|
|
203
214
|
Target canonical_target = 13;
|
|
204
215
|
|
|
@@ -229,6 +240,8 @@ enum ActionHermeticity {
|
|
|
229
240
|
}
|
|
230
241
|
|
|
231
242
|
message Declaration {
|
|
243
|
+
ActionConfig config = 16;
|
|
244
|
+
|
|
232
245
|
Target target = 2;
|
|
233
246
|
Target canonical_target = 5;
|
|
234
247
|
|
|
@@ -358,6 +371,16 @@ message IncrementalTableConfig {
|
|
|
358
371
|
// If set to true, this action will not be executed. However, the action may
|
|
359
372
|
// still be depended upon.
|
|
360
373
|
bool disabled = 1;
|
|
374
|
+
|
|
375
|
+
// If set to true, running this action will ignore the full-refresh option.
|
|
376
|
+
// This is useful for tables which are built from transient data, to ensure
|
|
377
|
+
// that historical data is never lost.
|
|
378
|
+
bool protected = 2;
|
|
379
|
+
|
|
380
|
+
// Unique keys for merge criteria for incremental tables.
|
|
381
|
+
// If configured, records with matching unique key(s) will be updated, rather
|
|
382
|
+
// than new rows being inserted.
|
|
383
|
+
repeated string unique_key = 3;
|
|
361
384
|
}
|
|
362
385
|
|
|
363
386
|
// Configuration options for BigQuery table assertions.
|