Skip to content

[SYSTEMDS-3857] set get names on frame - #2558

Open
t99-i wants to merge 11 commits into
apache:mainfrom
t99-i:SYSTEMDS-3857-set-get-names
Open

t99-i wants to merge 11 commits into
apache:mainfrom
t99-i:SYSTEMDS-3857-set-get-names

Conversation

@t99-i

@t99-i t99-i commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This PR adds the frame operations getNames and setNames.

Changes:

Added getNames support in compiler, CP and Spark runtime
Added setNames support in compiler, CP and Spark runtime
Added tests for getNames and setNames
Updated DML language reference

t99-i and others added 9 commits June 14, 2026 17:36
- fix dim for SetNames
- implemented tests for SetName and GetName
- add a test for propagation of column names during cbind operations
- test for other operations following
This patch adds the language references for the newly implemented getName and setName function.
The order in Builtins.java was fixed to be alphabetical again
- fixed mapping of binarOP in DMLTranslator
- added size/data validation in BinaryFrameFrameCPInstruction
- setName does now have a STRING return type
- removed duplicated code
- fixed get/set-swap
- removed unnecessary prints in FrameColumnNamesTest
- removed unnecessary TODOs
- added SetName functionality for SPARK
- extended propagation test (wip)
- added Set/GetNames function tests for SPARK
- removed propagation test from this branch
@github-project-automation github-project-automation Bot moved this to In Progress in SystemDS PR Queue Jul 19, 2026
@t99-i
t99-i marked this pull request as draft July 21, 2026 16:36
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 49.44444% with 182 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.67%. Comparing base (e4f0987) to head (20502db).
⚠️ Report is 99 commits behind head on main.

Files with missing lines Patch % Lines
...e/sysds/runtime/instructions/InstructionUtils.java 52.42% 81 Missing and 76 partials ⚠️
...instructions/cp/BinaryFrameFrameCPInstruction.java 0.00% 13 Missing ⚠️
...tructions/spark/BinaryFrameFrameSPInstruction.java 0.00% 12 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##               main    #2558       +/-   ##
=============================================
- Coverage     71.47%   29.67%   -41.81%     
+ Complexity    48883    20493    -28390     
=============================================
  Files          1573     1623       +50     
  Lines        189238   194411     +5173     
  Branches      37128    37996      +868     
=============================================
- Hits         135261    57685    -77576     
- Misses        43530   129055    +85525     
+ Partials      10447     7671     -2776     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

t99-i added 2 commits July 25, 2026 23:34
- reformated some files to adhere to the SystemDS Standard
@t99-i
t99-i marked this pull request as ready for review August 1, 2026 15:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant