@platforma-sdk/workflow-tengo 4.17.0 → 4.17.1

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.
Files changed (39) hide show
  1. package/dist/tengo/lib/pt.expression.lib.tengo +6 -0
  2. package/dist/tengo/lib/pt.lib.tengo +1 -9
  3. package/dist/tengo/tpl/anonymize.deanonymize.plj.gz +0 -0
  4. package/dist/tengo/tpl/anonymize.impl.plj.gz +0 -0
  5. package/dist/tengo/tpl/check_network.create_workdir_from_storage.plj.gz +0 -0
  6. package/dist/tengo/tpl/check_network.download_blob.plj.gz +0 -0
  7. package/dist/tengo/tpl/check_network.run_hello_world.plj.gz +0 -0
  8. package/dist/tengo/tpl/check_network.run_hello_world_py.plj.gz +0 -0
  9. package/dist/tengo/tpl/check_network.upload_blob.plj.gz +0 -0
  10. package/dist/tengo/tpl/check_network.upload_template.plj.gz +0 -0
  11. package/dist/tengo/tpl/check_network.workdir_type_name_extractor.plj.gz +0 -0
  12. package/dist/tengo/tpl/exec.R.create-renv.plj.gz +0 -0
  13. package/dist/tengo/tpl/exec.delayed-compute-allocation.impl.plj.gz +0 -0
  14. package/dist/tengo/tpl/exec.exec-impl.plj.gz +0 -0
  15. package/dist/tengo/tpl/exec.exec.plj.gz +0 -0
  16. package/dist/tengo/tpl/exec.load-software.impl.plj.gz +0 -0
  17. package/dist/tengo/tpl/exec.monetization_info.plj.gz +0 -0
  18. package/dist/tengo/tpl/exec.monetization_to_json.plj.gz +0 -0
  19. package/dist/tengo/tpl/exec.python.create-venv.plj.gz +0 -0
  20. package/dist/tengo/tpl/exec.python.install-deps.plj.gz +0 -0
  21. package/dist/tengo/tpl/exec.python.venv-bin-path.plj.gz +0 -0
  22. package/dist/tengo/tpl/ll.get-field.plj.gz +0 -0
  23. package/dist/tengo/tpl/pframes.export-multiple-pcolumns.plj.gz +0 -0
  24. package/dist/tengo/tpl/pframes.export-pframe-for-ui.plj.gz +0 -0
  25. package/dist/tengo/tpl/pframes.export-pframe.plj.gz +0 -0
  26. package/dist/tengo/tpl/pframes.export-single-pcolumn.plj.gz +0 -0
  27. package/dist/tengo/tpl/pframes.import-dir.plj.gz +0 -0
  28. package/dist/tengo/tpl/pframes.parse-to-json.plj.gz +0 -0
  29. package/dist/tengo/tpl/pframes.process-pcolumn-data.plj.gz +0 -0
  30. package/dist/tengo/tpl/pframes.remove-nulls.plj.gz +0 -0
  31. package/dist/tengo/tpl/pframes.slice-data.plj.gz +0 -0
  32. package/dist/tengo/tpl/pframes.xsv-export-pframe.plj.gz +0 -0
  33. package/dist/tengo/tpl/pframes.xsv-import-if-not-null.plj.gz +0 -0
  34. package/dist/tengo/tpl/pframes.xsv-import-map.plj.gz +0 -0
  35. package/dist/tengo/tpl/waiter.waiter.plj.gz +0 -0
  36. package/dist/tengo/tpl/workdir.save.plj.gz +0 -0
  37. package/dist/tengo/tpl/workflow.build-ctx.plj.gz +0 -0
  38. package/dist/tengo/tpl/workflow.query-anchored.plj.gz +0 -0
  39. package/package.json +2 -2
@@ -340,6 +340,12 @@ _newExpression = func(expression, currentAlias) {
340
340
 
341
341
 
342
342
 
343
+
344
+
345
+
346
+
347
+
348
+
343
349
 
344
350
 
345
351
 
@@ -829,7 +829,6 @@ _newDataFrame = func(parentWorkflow, dfName) {
829
829
 
830
830
 
831
831
 
832
-
833
832
 
834
833
 
835
834
  sort: func(by, ...optionsRaw) {
@@ -847,7 +846,6 @@ _newDataFrame = func(parentWorkflow, dfName) {
847
846
 
848
847
  descendingOpt := opts.descending
849
848
  nullsLastOpt := opts.nulls_last
850
- maintainOrderOpt := opts.maintain_order // Corresponds to 'stable' in PTabler SortStep
851
849
 
852
850
  if !is_undefined(descendingOpt) && !is_bool(descendingOpt) && !is_array(descendingOpt) {
853
851
  ll.panic("sort 'descending' option must be a boolean or an array of booleans. Got: %T", descendingOpt)
@@ -863,9 +861,7 @@ _newDataFrame = func(parentWorkflow, dfName) {
863
861
  ll.panic("sort 'nulls_last' array length (%d) must match the number of sort keys (%d).", len(nullsLastOpt), len(by))
864
862
  }
865
863
 
866
- if !is_undefined(maintainOrderOpt) && !is_bool(maintainOrderOpt) {
867
- ll.panic("sort 'maintain_order' option must be a boolean. Got: %T", maintainOrderOpt)
868
- }
864
+
869
865
 
870
866
  sortDirectives := []
871
867
  for i, item in by {
@@ -918,10 +914,6 @@ _newDataFrame = func(parentWorkflow, dfName) {
918
914
  by: sortDirectives
919
915
  }
920
916
 
921
- if !is_undefined(maintainOrderOpt) && maintainOrderOpt == true {
922
- sortStep.stable = true // PTabler 'stable' maps to Polars 'maintain_order'
923
- }
924
-
925
917
  parentWorkflow.addRawStep(sortStep)
926
918
  return _newDataFrame(parentWorkflow, outputDfName)
927
919
  },
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": "4.17.0",
3
+ "version": "4.17.1",
4
4
  "description": "Tengo SDK library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@milaboratories/software-pframes-conv": "2.2.2",
20
20
  "@platforma-open/milaboratories.software-small-binaries": "^1.15.21",
21
- "@platforma-open/milaboratories.software-ptabler": "1.12.0"
21
+ "@platforma-open/milaboratories.software-ptabler": ""
22
22
  },
23
23
  "devDependencies": {
24
24
  "@platforma-sdk/tengo-builder": "^2.1.14"