Skip to content

Fix old extension scalar logic - #6701

Merged
gatesn merged 5 commits into
developfrom
ct/ext-scalar-logic
Feb 27, 2026
Merged

gatesn merged 5 commits into
developfrom
ct/ext-scalar-logic

Conversation

@connortsui20

Copy link
Copy Markdown
Member

Summary

Tracking Issue: #6618

Finally changes the old (incorrect) extension scalar logic to validate and display correctly. We are now at the tail end of implementing extension scalars.

Testing

Adds a few tests to the time extension types to see that validation and displaying works correctly. Also removes a few incorrect tests.

@connortsui20 connortsui20 changed the title Ct/ext scalar logic Fix old extension scalar logic Feb 26, 2026
@gatesn
gatesn enabled auto-merge (squash) February 27, 2026 01:25
Comment on lines +214 to +220
struct StorageValueDisplay<'a>(&'a dyn DynExtDType, &'a ScalarValue);

impl fmt::Display for StorageValueDisplay<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
self.0.value_display(f, self.1)
}
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Why outline this?

connortsui20 and others added 5 commits February 27, 2026 08:11
Signed-off-by: Connor Tsui <[email protected]>
Signed-off-by: Connor Tsui <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Signed-off-by: Connor Tsui <[email protected]>
@gatesn
gatesn merged commit fc3af37 into develop Feb 27, 2026
51 checks passed
@gatesn
gatesn deleted the ct/ext-scalar-logic branch February 27, 2026 13:29
fastio pushed a commit to fastio/vortex that referenced this pull request Mar 10, 2026
## Summary

Tracking Issue: vortex-data#6618

Finally changes the old (incorrect) extension scalar logic to validate
and display correctly. We are now at the tail end of implementing
extension scalars.

## Testing

Adds a few tests to the time extension types to see that validation and
displaying works correctly. Also removes a few incorrect tests.

---------

Signed-off-by: Connor Tsui <[email protected]>
Signed-off-by: Nicholas Gates <[email protected]>
Co-authored-by: Nicholas Gates <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants