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

Implementing Unsigned Types #1325

Merged
merged 9 commits into from Jan 26, 2021
Merged

Implementing Unsigned Types #1325

merged 9 commits into from Jan 26, 2021

Conversation

pdet
Copy link
Member

@pdet pdet commented Jan 25, 2021

Task #1023

Since the unsigned types are built-in I think the most relevant changes are in the cast operators. Let me know if I forgot any interface or if I should add any other relevant tests.

@hannes
Copy link
Member

hannes commented Jan 25, 2021

Very nice, out of curiosity, how much does this increases the binary size?

@pdet
Copy link
Member Author

pdet commented Jan 25, 2021

14mb with unsigned types, 13mb on master

@hannes
Copy link
Member

hannes commented Jan 26, 2021

Did you double-check the parquet statistics for the uints are correctly converted?

@pdet
Copy link
Member Author

pdet commented Jan 26, 2021

Yes!

The only issue I found with the parquet files was the uint32 being converted to int64.
But that apparently is the expected behavior:
https://issues.apache.org/jira/browse/ARROW-9215?jql=text ~ "uint32"

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Looks great, but would like to see some more tests:

@pdet
Copy link
Member Author

pdet commented Jan 26, 2021

@Mytherin you got me on the storage. hehe

@pdet pdet requested a review from Mytherin January 26, 2021 17:13
@Mytherin
Copy link
Collaborator

Thanks, looks great now.

@Mytherin Mytherin merged commit 8b03e47 into duckdb:master Jan 26, 2021
@pdet pdet deleted the unsignedtypes branch March 10, 2021 18:34
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.

None yet

3 participants