@platforma-sdk/workflow-tengo 6.3.1 → 6.3.3
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/exec.limits.lib.tengo +5 -1
- package/dist/tengo/lib/pframes.util.lib.tengo +13 -0
- 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.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.build-table.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.merge-resource-maps.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.parse-to-json.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.process-pcolumn-batch-split.plj.gz +0 -0
- package/dist/tengo/tpl/pframes.process-pcolumn-batch.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/dist/tengo/tpl/workflow.query-context-filter.plj.gz +0 -0
- package/package.json +5 -5
|
@@ -477,6 +477,12 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
477
477
|
ll.assert(vt == "Int" || vt == "Long" || vt == "Float" || vt == "Double" || vt == "String",
|
|
478
478
|
"Unsupported value type: ", vt, spec)
|
|
479
479
|
|
|
480
|
+
axisTypes := []
|
|
481
|
+
for axis in spec.axesSpec {
|
|
482
|
+
axisTypes = append(axisTypes, axis.type)
|
|
483
|
+
}
|
|
484
|
+
typeSpec := { axes: axisTypes, column: vt }
|
|
485
|
+
|
|
480
486
|
ll.assert(!is_undefined(data) && smart.isResource(data), "data must be a resource, got: %v", data)
|
|
481
487
|
|
|
482
488
|
ll.assert(!is_undefined(execBuilder), "execBuilder must be defined")
|
|
@@ -515,6 +521,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
515
521
|
|
|
516
522
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
517
523
|
type: "JsonPartitioned",
|
|
524
|
+
typeSpec: typeSpec,
|
|
518
525
|
partitionKeyLength: 0,
|
|
519
526
|
parts: { "[]": jdataFile }
|
|
520
527
|
})
|
|
@@ -542,6 +549,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
542
549
|
|
|
543
550
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
544
551
|
type: "JsonPartitioned",
|
|
552
|
+
typeSpec: typeSpec,
|
|
545
553
|
partitionKeyLength: data.getDataAsJson().partitionKeyLength,
|
|
546
554
|
parts: parts
|
|
547
555
|
})
|
|
@@ -579,6 +587,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
579
587
|
|
|
580
588
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
581
589
|
type: "JsonPartitioned",
|
|
590
|
+
typeSpec: typeSpec,
|
|
582
591
|
partitionKeyLength: superPartitionKeyLength + partitionKeyLength,
|
|
583
592
|
parts: parts
|
|
584
593
|
})
|
|
@@ -622,6 +631,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
622
631
|
|
|
623
632
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
624
633
|
type: "BinaryPartitioned",
|
|
634
|
+
typeSpec: typeSpec,
|
|
625
635
|
partitionKeyLength: data.getDataAsJson().partitionKeyLength,
|
|
626
636
|
parts: parts
|
|
627
637
|
})
|
|
@@ -680,6 +690,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
680
690
|
|
|
681
691
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
682
692
|
type: "BinaryPartitioned",
|
|
693
|
+
typeSpec: typeSpec,
|
|
683
694
|
partitionKeyLength: superPartitionKeyLength + partitionKeyLength,
|
|
684
695
|
parts: parts
|
|
685
696
|
})
|
|
@@ -711,6 +722,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
711
722
|
|
|
712
723
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
713
724
|
type: "ParquetPartitioned",
|
|
725
|
+
typeSpec: typeSpec,
|
|
714
726
|
partitionKeyLength: data.getDataAsJson().partitionKeyLength,
|
|
715
727
|
parts: parts
|
|
716
728
|
})
|
|
@@ -754,6 +766,7 @@ addColumnToWd := func(name, spec, data, execBuilder, ops) {
|
|
|
754
766
|
|
|
755
767
|
execBuilder.writeFile(makePath(name + ".datainfo"), {
|
|
756
768
|
type: "ParquetPartitioned",
|
|
769
|
+
typeSpec: typeSpec,
|
|
757
770
|
partitionKeyLength: superPartitionKeyLength + partitionKeyLength,
|
|
758
771
|
parts: parts
|
|
759
772
|
})
|
|
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
|
|
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": "6.3.
|
|
3
|
+
"version": "6.3.3",
|
|
4
4
|
"description": "Tengo SDK library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"./dist/**/*"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@milaboratories/pframes-rs-wasip2": "1.1.
|
|
19
|
+
"@milaboratories/pframes-rs-wasip2": "1.1.44",
|
|
20
20
|
"@milaboratories/software-pframes-conv": "2.2.9",
|
|
21
21
|
"@platforma-open/milaboratories.software-small-binaries": "^2.0.3",
|
|
22
|
-
"@platforma-open/milaboratories.software-
|
|
23
|
-
"@platforma-open/milaboratories.software-
|
|
22
|
+
"@platforma-open/milaboratories.software-ptexter": "1.2.2",
|
|
23
|
+
"@platforma-open/milaboratories.software-ptabler": "2.1.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@platforma-sdk/tengo-builder": "4.0.
|
|
26
|
+
"@platforma-sdk/tengo-builder": "4.0.7"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"type-check": "pl-tengo check",
|