Skip to content

Conversation

@jameshartig
Copy link
Contributor

There were multiple issues with the previous RowData method. First, it was returning invalid values because it called c.Zero() instead of Zero on column. Second, it would've returned an interface to a pointer to an interface which is frustrating to work with.

Now it restores the previous v1 behavior and returns pointers to the underlying types wrapped in an interface.

Added tests to ensure the behavior is as expected.

Patch by James Hartig for CASSGO-95

Copy link
Contributor

@joao-r-reis joao-r-reis left a comment

Choose a reason for hiding this comment

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

good catch

There were multiple issues with the previous RowData method. First, it was returning
invalid values because it called c.Zero() instead of Zero on column. Second, it
would've returned an interface to a pointer to an interface which is frustrating to
work with.

Now it restores the previous v1 behavior and returns pointers to the underlying
types wrapped in an interface.

Added tests to ensure the behavior is as expected.

Patch by James Hartig; reviewed by João Reis for CASSGO-95
@jameshartig jameshartig changed the title Fix Iter.RowData Values to point to concrete types CASSGO-95: Fix Iter.RowData Values to point to concrete types Oct 29, 2025
@jameshartig jameshartig merged commit 0326fae into apache:trunk Oct 29, 2025
72 checks passed
@jameshartig jameshartig deleted the x-rowdata-values branch October 29, 2025 17:25
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.

2 participants