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

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-iand 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
@codecov

codecovBot 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 65 commits behind head on main.

Files with missing linesPatch %Lines
...e/sysds/runtime/instructions/InstructionUtils.java52.42%81 Missing and 76 partials ⚠️
...instructions/cp/BinaryFrameFrameCPInstruction.java0.00%13 Missing ⚠️
...tructions/spark/BinaryFrameFrameSPInstruction.java0.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
Sign up for freeto 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

@t99-i