Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: remove DeltaDataType aliases #1388

Merged
merged 1 commit into from
May 23, 2023

Conversation

cmackenzie1
Copy link
Contributor

Description

Removing the aliases in favor of the actual type to improve readability of the code and reduce confusion around the existence of the types.

DeltaDataTypeLong replaced with i64
DeltaDataTypeVersion replaced with i64
DeltaDataTypeTimestamp replaced with i64
DeltaDataTypeInt replaced with i32

Related Issue(s)

N/A

Documentation

N/A

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate delta-checkpoint rust storage/aws AWS S3 storage related labels May 23, 2023
Removing the aliases in favor of the actual type to improve readability
of the code and reduce confusion around the existence of the types.

`DeltaDataTypeLong` replaced with `i64`
`DeltaDataTypeVersion` replaced with `i64`
`DeltaDataTypeTimestamp` replaced with `i64`
`DeltaDataTypeInt` replaced with `i32`
Copy link
Collaborator

@roeap roeap left a comment

Choose a reason for hiding this comment

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

Thanks @cmackenzie1, I agree that this is an improvement, but I'll leave it open a bit for other opinions :)

cc @wjones127 @rtyler @fvaleye

Copy link
Collaborator

@wjones127 wjones127 left a comment

Choose a reason for hiding this comment

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

I'm good with this as well. I've always found them confusing. I still have to look up which bit width "long" is 🤣

@roeap roeap merged commit 2350d16 into delta-io:main May 23, 2023
@cmackenzie1 cmackenzie1 deleted the cole/tidy branch May 23, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate delta-checkpoint rust storage/aws AWS S3 storage related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants