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(c/driver/postgresql): UInt(8/16/32) Writer #1961

Merged
merged 5 commits into from
Jul 2, 2024

Conversation

WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Jul 2, 2024

More progress towards #1950

@WillAyd WillAyd requested a review from lidavidm as a code owner July 2, 2024 02:53
@github-actions github-actions bot added this to the ADBC Libraries 14 milestone Jul 2, 2024
ASSERT_EQ(adbc_validation::MakeSchema(&schema.value, {{"col", NANOARROW_TYPE_UINT32}}),
ADBC_STATUS_OK);
ASSERT_EQ(adbc_validation::MakeBatch<uint32_t>(&schema.value, &array.value, &na_error,
{0, UINT32_MAX, std::nullopt}),
Copy link
Member

Choose a reason for hiding this comment

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

nit: here and above might be better to use std::numeric_limits to make the type clear (not a big deal though)

Copy link
Member

@lidavidm lidavidm left a comment

Choose a reason for hiding this comment

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

FWIW, #define NOMINMAX should do the same thing IIRC

@lidavidm lidavidm merged commit 33ebd9d into apache:main Jul 2, 2024
63 of 65 checks passed
@WillAyd WillAyd deleted the unsigned-writing branch July 3, 2024 00:24
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.

2 participants