Skip to content

Rename the Table type's "rows" -> "items" and "columns" -> "attributes" everywhere#4130

Merged
Keavon merged 4 commits intomasterfrom
table-renames
May 9, 2026
Merged

Rename the Table type's "rows" -> "items" and "columns" -> "attributes" everywhere#4130
Keavon merged 4 commits intomasterfrom
table-renames

Conversation

@Keavon
Copy link
Copy Markdown
Member

@Keavon Keavon commented May 9, 2026

Partly closes #3779.

@Keavon Keavon changed the title Rename the Table type's rows -> items and columns -> attributes everywhere Rename the Table type's "rows" -> "items" and "columns" -> "attributes everywhere May 9, 2026
@Keavon Keavon changed the title Rename the Table type's "rows" -> "items" and "columns" -> "attributes everywhere Rename the Table type's "rows" -> "items" and "columns" -> "attributes" everywhere May 9, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 24 files

Confidence score: 5/5

  • This looks low risk overall: the only noted issue is a low-severity API naming consistency concern (3/10) rather than a functional bug or regression.
  • In node-graph/libraries/core-types/src/table.rs, renaming new_from_row to new_from_item (or adding a deprecated alias) helps keep the API aligned with Item semantics and reduces developer confusion.
  • Pay close attention to node-graph/libraries/core-types/src/table.rs - ensure the naming change (or compatibility alias) avoids downstream API friction for existing callers.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="node-graph/libraries/core-types/src/table.rs">

<violation number="1" location="node-graph/libraries/core-types/src/table.rs:884">
P3: Rename `new_from_row` to `new_from_item` (or provide a clearly deprecated compatibility alias) to keep API naming aligned with `Item` semantics.

(Based on your team's feedback about keeping type/function names aligned with their actual responsibilities.) [FEEDBACK_USED]</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread node-graph/libraries/core-types/src/table.rs Outdated
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs a comprehensive renaming of the Table data structure components to align with a new terminology of "items" and "attributes" instead of "rows" and "columns." Key changes include renaming TableRow to Item, AttributeColumn to AnyAttribute, and updating associated iterators and storage types across the codebase. The review feedback identifies several remaining methods and local variables that still use the old terminology (e.g., clone_row, into_row_vec, new_from_row) and suggests renaming them to maintain consistency with the PR's primary objective.

Comment thread node-graph/libraries/core-types/src/table.rs Outdated
Comment thread node-graph/libraries/core-types/src/table.rs Outdated
Comment thread node-graph/libraries/core-types/src/table.rs Outdated
Comment thread node-graph/libraries/core-types/src/table.rs
Comment thread node-graph/libraries/core-types/src/table.rs
Comment thread node-graph/libraries/core-types/src/table.rs
Comment thread node-graph/nodes/vector/src/vector_nodes.rs Outdated
@Keavon Keavon merged commit 6b3e475 into master May 9, 2026
10 checks passed
@Keavon Keavon deleted the table-renames branch May 9, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Data trees

1 participant