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

feat: Fix for UUID #70

Merged
merged 2 commits into from
Oct 23, 2023
Merged

feat: Fix for UUID #70

merged 2 commits into from
Oct 23, 2023

Conversation

hydratim
Copy link
Contributor

@hydratim hydratim commented Oct 23, 2023

This corrects the Marshalling for the UUID Scalar.
Referenced in: cloudquery/cloudquery#14825

It assumes Network-Order Bytes as per https://www.rfc-editor.org/rfc/rfc4122.html#section-4.1.1

This should work as it does pass the tests, but our testing framework is a little incomplete.
I'm not going to alter the test framework in this commit - But we should have a Marshalling test that confirms the expected bytes are created for each custom object type.

Fixes cloudquery/cloudquery#14825

BEGIN_COMMIT_OVERRIDE
fix: Properly handle uuid.UUID values in scalars (#70), closes (cloudquery/cloudquery#14825)
END_COMMIT_OVERRIDE

@hydratim hydratim added the automerge Add to automerge PRs once requirements are met label Oct 23, 2023
@kodiakhq kodiakhq bot merged commit 1fc0cf7 into cloudquery:main Oct 23, 2023
7 checks passed
kodiakhq bot pushed a commit that referenced this pull request Oct 23, 2023
🤖 I have created a release *beep* *boop*
---


## [0.1.7](v0.1.6...v0.1.7) (2023-10-23)


### Bug Fixes

* **deps:** Update dependency pyarrow to v13 ([#53](#53)) ([55bed05](55bed05))
* Properly handle `uuid.UUID` values in scalars ([#70](#70)), closes (cloudquery/cloudquery#14825) ([1fc0cf7](1fc0cf7))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: unable to create table columns of type UUID in Python SDK
2 participants