@dataform/core 3.0.45 → 3.0.47

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/jit.proto CHANGED
@@ -96,6 +96,43 @@ message DeleteTableRequest {
96
96
  Target target = 1;
97
97
  }
98
98
 
99
+ // JiT compilation target type.
100
+ enum JitCompilationTargetType {
101
+ // Unspecified - will result in error.
102
+ JIT_COMPILATION_TARGET_TYPE_UNSPECIFIED = 0;
103
+ // Table/view target.
104
+ JIT_COMPILATION_TARGET_TYPE_TABLE = 1;
105
+ // Operation target.
106
+ JIT_COMPILATION_TARGET_TYPE_OPERATION = 2;
107
+ // Incremental table target.
108
+ JIT_COMPILATION_TARGET_TYPE_INCREMENTAL_TABLE = 3;
109
+ }
110
+
111
+ // JiT compilation request.
112
+ message JitCompilationRequest {
113
+ // Canonical target being compiled.
114
+ Target target = 1;
115
+ // Canonical target dependencies.
116
+ repeated Target dependencies = 2;
117
+ // JiT code to compile.
118
+ string jit_code = 3;
119
+ // JiT data, exposed to code in context.
120
+ google.protobuf.Struct jit_data = 4;
121
+ // JiT compilation target type.
122
+ JitCompilationTargetType compilation_target_type = 5;
123
+ // List of additional file paths accessible at compilation.
124
+ repeated string file_paths = 6;
125
+ }
126
+
127
+ // JiT compilation response.
128
+ message JitCompilationResponse {
129
+ oneof response {
130
+ JitTableResult table = 1;
131
+ JitOperationResult operation = 2;
132
+ JitIncrementalTableResult incremental_table = 3;
133
+ }
134
+ }
135
+
99
136
  // JiT compilation result for table actions (including views).
100
137
  // Fields match the Table message.
101
138
  message JitTableResult {
package/package.json CHANGED
@@ -34,7 +34,7 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "version": "3.0.45",
37
+ "version": "3.0.47",
38
38
  "name": "@dataform/core",
39
39
  "description": "Dataform core API.",
40
40
  "main": "bundle.js"