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(c/driver): Use non-objects framework components in Postgres driver #2166

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

paleolimbot
Copy link
Member

@paleolimbot paleolimbot commented Sep 18, 2024

This PR formalizes the names of documents the helpers in framework/objects.h and frameworks/utility.h. It also uses them in the PostgreSQL driver and removes duplicate functionality where possible (GetObjects in the Postgres driver is a bit of a bigger project for another PR).

@paleolimbot paleolimbot marked this pull request as ready for review September 20, 2024 22:44
@github-actions github-actions bot added this to the ADBC Libraries 15 milestone Sep 20, 2024
Comment on lines -193 to -196
dm.True(rdr.Next())

rec := rdr.Record()
dm.Equal(int64(0), rec.NumRows())
Copy link
Member Author

Choose a reason for hiding this comment

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

@zeroshade The change that triggered this was that the internal helper that generates streams from arrays will now canonically generate an empty stream instead of a stream with one array of length zero. I think this is slightly nicer but can revert it if you think it will cause problems!

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