Skip to content

Conversation

@lidavidm
Copy link
Member

  • Add a keyword-only argument to set statement options directly when creating a cursor, which makes it a little clearer what's going on.
  • Allow using True and False directly as option values (they will get converted to ENABLED and DISABLED, respectively).
  • Add the use_copy option to the PostgreSQL options enum.
  • Add an example of this with PostgreSQL.

Fixes #2093.
Fixes #2146.

- Add a keyword-only argument to set statement options directly
  when creating a cursor, which makes it a little clearer what's
  going on.
- Allow using True and False directly as option values (they will
  get converted to ENABLED and DISABLED, respectively).
- Add the `use_copy` option to the PostgreSQL options enum.
- Add an example of this with PostgreSQL.

Fixes apache#2093.
Fixes apache#2146.
@lidavidm lidavidm marked this pull request as ready for review March 10, 2025 04:54
@github-actions github-actions bot added this to the ADBC Libraries 18 milestone Mar 10, 2025
Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

LGTM in general, though we should really fix the failing CI

@lidavidm lidavidm merged commit c324fae into apache:main Mar 10, 2025
62 of 63 checks passed
@lidavidm lidavidm deleted the gh-2146 branch March 10, 2025 22:37
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.

adbc.snowflake.statement.* options are not effective ["python"] Support SHOW command

2 participants