@dataform/core 3.0.57 → 3.0.59

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/core.proto CHANGED
@@ -274,6 +274,8 @@ message Assertion {
274
274
  // Only present for auto assertions.
275
275
  Target parent_action = 15;
276
276
 
277
+ string jit_code = 16;
278
+
277
279
  // Generated.
278
280
  string file_name = 7;
279
281
 
package/jit.proto CHANGED
@@ -122,6 +122,8 @@ enum JitCompilationTargetType {
122
122
  JIT_COMPILATION_TARGET_TYPE_OPERATION = 2;
123
123
  // Incremental table target.
124
124
  JIT_COMPILATION_TARGET_TYPE_INCREMENTAL_TABLE = 3;
125
+ // Assertion target.
126
+ JIT_COMPILATION_TARGET_TYPE_ASSERTION = 4;
125
127
  }
126
128
 
127
129
  // JiT compilation request.
@@ -148,6 +150,7 @@ message JitCompilationResponse {
148
150
  JitTableResult table = 1;
149
151
  JitOperationResult operation = 2;
150
152
  JitIncrementalTableResult incremental_table = 3;
153
+ JitAssertionResult assertion = 4;
151
154
  }
152
155
  }
153
156
 
@@ -175,3 +178,9 @@ message JitOperationResult {
175
178
  // Sequence of SQL operations.
176
179
  repeated string queries = 1;
177
180
  }
181
+
182
+ // JiT compilation result for assertion actions.
183
+ message JitAssertionResult {
184
+ // SQL Select query that returns rows iff the assertion fails.
185
+ string query = 1;
186
+ }
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "version": "3.0.57",
37
+ "version": "3.0.59",
38
38
  "name": "@dataform/core",
39
39
  "description": "Dataform core API.",
40
40
  "main": "bundle.js"