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

Implement UUID Column Type #28

Merged
merged 3 commits into from
Nov 5, 2019
Merged

Implement UUID Column Type #28

merged 3 commits into from
Nov 5, 2019

Conversation

soareschen
Copy link
Contributor

@soareschen soareschen commented Oct 28, 2019

This PR adds a new UuidT column type which makes use of the UUID format implemented in scrive/hpqtypes#17.

It also modifies the existing test to make use of the UUID type instead of regular integer. The alternative is to have a mix of INT and UUID when testing some of the tables. Otherwise I can write separate tests just for UUID.


This change is Reviewable

Copy link
Contributor

@23Skidoo 23Skidoo left a comment

Choose a reason for hiding this comment

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

Looks good on a first glance, so if @arybczak is also happy I think we can merge this.

@@ -109,4 +110,5 @@ test-suite hpqtypes-extras-tests
tasty,
tasty-hunit,
text,
transformers
transformers,
uuid
Copy link
Collaborator

Choose a reason for hiding this comment

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

It looks like this isn't needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

UUID is needed in the tests. I have removed the dependency in main and updated the tests to use uuid-types.

@arybczak
Copy link
Collaborator

arybczak commented Oct 31, 2019

LGTM apart from redundant dependency, thanks!

We'll make a release once fields-json 0.4.0.0 sits on hackage.

Can you bump fields-json dependency to >= 0.4 && < 0.5?

@soareschen
Copy link
Contributor Author

Can you bump fields-json dependency to >= 0.4 && < 0.5?

Done

@arybczak
Copy link
Collaborator

arybczak commented Nov 5, 2019

I force-pushed the branch with fixed release date.

@arybczak arybczak merged commit d78203a into master Nov 5, 2019
@jsynacek jsynacek deleted the dev-soares-pq-uuid branch October 12, 2021 10:33
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.

3 participants