@platforma-sdk/workflow-tengo 5.5.5 → 5.5.7
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/dist/tengo/lib/pframes.xsv-builder.lib.tengo +4 -4
- package/dist/tengo/lib/pt.expression.lib.tengo +10 -3
- package/dist/tengo/tpl/annotations.compute.plj.gz +0 -0
- package/dist/tengo/tpl/anonymize.deanonymize.plj.gz +0 -0
- package/dist/tengo/tpl/anonymize.impl.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.create_workdir_from_storage.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.download_blob.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.run_hello_world.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.run_hello_world_py.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.upload_blob.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.upload_template.plj.gz +0 -0
- package/dist/tengo/tpl/check_network.workdir_type_name_extractor.plj.gz +0 -0
- package/dist/tengo/tpl/exec.R.create-renv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.conda.create-env.plj.gz +0 -0
- package/dist/tengo/tpl/exec.delayed-compute-allocation.impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec-impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.exec.plj.gz +0 -0
- package/dist/tengo/tpl/exec.load-software.impl.plj.gz +0 -0
- package/dist/tengo/tpl/exec.monetization_info.plj.gz +0 -0
- package/dist/tengo/tpl/exec.monetization_to_json.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.create-venv.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.install-deps.plj.gz +0 -0
- package/dist/tengo/tpl/exec.python.venv-bin-path.plj.gz +0 -0
- package/dist/tengo/tpl/ll.get-field.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-multiple-pcolumns.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-parquet-pcolumn-chunk.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-pframe-for-ui.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.export-single-pcolumn.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.import-dir.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.parse-to-json.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.process-pcolumn-data.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.remove-nulls.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.slice-data.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-export-pframe.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-import-if-not-null.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.xsv-import-map.plj.gz +0 -0
- package/dist/tengo/tpl/pt.import-dir.plj.gz +0 -0
- package/dist/tengo/tpl/pt.workflow-run.plj.gz +0 -0
- package/dist/tengo/tpl/waiter.waiter.plj.gz +0 -0
- package/dist/tengo/tpl/workdir.save.plj.gz +0 -0
- package/dist/tengo/tpl/workflow.build-ctx.plj.gz +0 -0
- package/dist/tengo/tpl/workflow.query-anchored.plj.gz +0 -0
- package/package.json +2 -2
|
@@ -68,7 +68,7 @@ xsvFileBuilder := func(xsvType) {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
resultArray := []
|
|
71
|
-
|
|
71
|
+
maps.forEach(parsedColumns, func(baseKey, colParts) {
|
|
72
72
|
if is_undefined(colParts.spec) {
|
|
73
73
|
ll.panic("Missing .spec for base key '%s' in flat frame input.", baseKey)
|
|
74
74
|
}
|
|
@@ -80,7 +80,7 @@ xsvFileBuilder := func(xsvType) {
|
|
|
80
80
|
data: colParts.data,
|
|
81
81
|
key: baseKey
|
|
82
82
|
})
|
|
83
|
-
}
|
|
83
|
+
})
|
|
84
84
|
return resultArray
|
|
85
85
|
}
|
|
86
86
|
|
|
@@ -550,7 +550,7 @@ xsvFileBuilder := func(xsvType) {
|
|
|
550
550
|
if isFlatFrame {
|
|
551
551
|
colsToProcess = parseFlatFrameInput(item)
|
|
552
552
|
} else { // Assume map of column objects: { "id1": {spec, data}, ... }
|
|
553
|
-
|
|
553
|
+
maps.forEach(item, func(k, v_col) {
|
|
554
554
|
if !is_map(v_col) || is_undefined(v_col.spec) || is_undefined(v_col.data) {
|
|
555
555
|
ll.panic("Invalid column value in frame for key '%s'. Expected {spec: ..., data: ...}.", k)
|
|
556
556
|
}
|
|
@@ -559,7 +559,7 @@ xsvFileBuilder := func(xsvType) {
|
|
|
559
559
|
data: v_col.data,
|
|
560
560
|
key: k // Use map key as original key
|
|
561
561
|
})
|
|
562
|
-
}
|
|
562
|
+
})
|
|
563
563
|
}
|
|
564
564
|
processMultiCol(colsToProcess, ops)
|
|
565
565
|
}
|
|
@@ -1141,20 +1141,27 @@ _matcherToAxisSpec := func(ctx, processedMatcher) {
|
|
|
1141
1141
|
continue
|
|
1142
1142
|
}
|
|
1143
1143
|
}
|
|
1144
|
-
if !is_undefined(distilledMatcher.domain) {
|
|
1144
|
+
if !is_undefined(distilledMatcher.domain) && len(distilledMatcher.domain) > 0 {
|
|
1145
1145
|
if is_undefined(spec.domain) || len(spec.domain) < len(distilledMatcher.domain) {
|
|
1146
1146
|
continue
|
|
1147
1147
|
}
|
|
1148
|
+
domainMatches := true
|
|
1148
1149
|
for domainKey, domainValue in distilledMatcher.domain {
|
|
1149
1150
|
if spec.domain[domainKey] != domainValue {
|
|
1150
|
-
|
|
1151
|
+
domainMatches = false
|
|
1152
|
+
break
|
|
1151
1153
|
}
|
|
1152
1154
|
}
|
|
1155
|
+
if !domainMatches {
|
|
1156
|
+
continue
|
|
1157
|
+
}
|
|
1153
1158
|
}
|
|
1154
1159
|
axisSpec = spec
|
|
1155
1160
|
break
|
|
1156
1161
|
}
|
|
1157
|
-
ll.assert(!is_undefined(axisSpec),
|
|
1162
|
+
ll.assert(!is_undefined(axisSpec),
|
|
1163
|
+
"axis spec not found for matcher %v, available options: %v",
|
|
1164
|
+
processedMatcher, ctx.distilledAxesSpecs)
|
|
1158
1165
|
return axisSpec
|
|
1159
1166
|
}
|
|
1160
1167
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platforma-sdk/workflow-tengo",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.7",
|
|
4
4
|
"description": "Tengo SDK library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@milaboratories/software-pframes-conv": "2.2.9",
|
|
20
20
|
"@platforma-open/milaboratories.software-small-binaries": "^1.15.23",
|
|
21
|
-
"@platforma-open/milaboratories.software-ptabler": "1.13.
|
|
21
|
+
"@platforma-open/milaboratories.software-ptabler": "1.13.2",
|
|
22
22
|
"@platforma-open/milaboratories.software-ptexter": "1.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|