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

[SYSTEMDS-3857] set get names on frame#2558
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

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 84.84848% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.63%. Comparing base (e4f0987) to head (fead95b).
⚠️ Report is 58 commits behind head on main.

Files with missing lines Patch % Lines
...instructions/cp/BinaryFrameFrameCPInstruction.java 60.00% 5 Missing and 3 partials ⚠️
...e/sysds/runtime/instructions/InstructionUtils.java 50.00% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2558      +/-   ##
============================================
+ Coverage     71.47%   71.63%   +0.16%     
- Complexity    48883    50162    +1279     
============================================
  Files          1573     1614      +41     
  Lines        189238   194052    +4814     
  Branches      37128    37944     +816     
============================================
+ Hits         135261   139017    +3756     
- Misses        43530    44122     +592     
- Partials      10447    10913     +466     

☔ 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
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