Skip to content

[SYSTEMDS-3857] set get names on dataframes#2495

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

[SYSTEMDS-3857] set get names on dataframes#2495
t99-i wants to merge 6 commits into
apache:mainfrom
t99-i:SYSTEMDS-3857-set-get-names-on-dataframes

Conversation

@t99-i

@t99-i t99-i commented Jun 21, 2026

Copy link
Copy Markdown

This PR adds the frame operations getNames and setNames.

Changes:

  • Added getNames support in compiler and CP runtime
  • Added setNames support in compiler and CP runtime
  • Added tests for getNames and setNames
  • Added column name propagation tests for cbind, rbind, and slice
  • Updated DML language reference

Tests:

  • FrameColumnNamesTest
  • FrameColNamesPropagationTest

The propagation tests verify that column names are preserved correctly during frame operations. The covered operations are cbind, rbind, and slice.

The tests use frame dimensions ranging from 10 to 1000 columns.

Note:
I observed unusual column-name propagation behavior for cbind on wider frames around 3000 columns. I left this case out of the regression tests to keep the PR focused on getNames/setNames and the CP runtime scope.

t99-i added 5 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
@t99-i t99-i changed the title Systemds 3857 set get names on dataframes [SYSTEMDS-3857] set get names on dataframes Jun 21, 2026
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