[MCC-1476014] Python Lib-Create Fetch_data() function#27
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new end-to-end fetch_data() API to the Python DataConnect client/service stack, enabling retrieval of dataset data via the transport layer and returning results as a pandas.DataFrame. This extends the transport contract with a do_get() operation and introduces a transport-level DataTable DTO for Arrow IPC bytes.
Changes:
- Add
DataTableDTO plus newTransport.do_get()abstract method and Arrow Flight implementation. - Add service/client
fetch_data()method and Arrow IPC →pandas.DataFramemapper. - Move
pandasinto main Poetry dependencies.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Adds pandas as a core dependency (requires lockfile update). |
| dataconnect/transport/models.py | Introduces DataTable DTO to carry Arrow IPC bytes. |
| dataconnect/transport/base.py | Extends the transport interface with do_get(). |
| dataconnect/transport/arrow_flight/transport.py | Implements do_get() and Arrow Table → IPC serialization. |
| dataconnect/service/mappers.py | Adds DataTable → pandas.DataFrame conversion. |
| dataconnect/service/default.py | Implements fetch_data() in the default service. |
| dataconnect/service/base.py | Adds fetch_data() to the service interface. |
| dataconnect/client.py | Exposes fetch_data() on the public client API. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
afieraru-mdsol
requested review from
butsyk-mdsol,
ibaig-mdsol and
slingampalli-mdsol
May 11, 2026 16:44
ibaig-mdsol
reviewed
May 11, 2026
ibaig-mdsol
reviewed
May 11, 2026
butsyk-mdsol
approved these changes
May 12, 2026
butsyk-mdsol
marked this pull request as ready for review
May 12, 2026 10:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feature/bug/enhance/refactor/tech_debt/hotfix
MCC-1476014Adds a new end-to-end fetch_data() API to the Python DataConnect client/service stack, enabling retrieval of dataset data via the transport layer and returning results as a pandas.DataFrame. This extends the transport contract with a do_get() operation and introduces a transport-level DataTable DTO for Arrow IPC bytes.
Changes:
Changes Summary