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_manager): expose ADBC functionality in DBAPI layer #143

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

lidavidm
Copy link
Member

@lidavidm lidavidm commented Sep 27, 2022

Extend the DBAPI interface with methods to expose ADBC functionality that doesn't have equivalents in DBAPI.

@lidavidm lidavidm marked this pull request as ready for review September 27, 2022 18:35
@@ -435,11 +753,15 @@ def fetch_arrow_table(self) -> pyarrow.Table:
)
return self._results.fetch_arrow_table()

def fetch_df(self):
def fetch_df(self) -> "pandas.DataFrame":
Copy link
Member

Choose a reason for hiding this comment

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

is the import pandas required only because of this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, though it's behind typing.TYPE_CHECKING so it shouldn't lead to anything at runtime

@lidavidm lidavidm force-pushed the py-extensions branch 2 times, most recently from b3dc3ef to c3691f4 Compare November 9, 2022 19:37
@lidavidm lidavidm merged commit 3956876 into apache:main Nov 10, 2022
@lidavidm lidavidm deleted the py-extensions branch November 10, 2022 16:55
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