Skip to content

feat(gooddata-sdk): [AUTO] Add /binary endpoint for Apache Arrow execution results (BETA)#1539

Open
yenkins-admin wants to merge 1 commit intomasterfrom
auto/openapi-sync-C007-20260413-r12445
Open

feat(gooddata-sdk): [AUTO] Add /binary endpoint for Apache Arrow execution results (BETA)#1539
yenkins-admin wants to merge 1 commit intomasterfrom
auto/openapi-sync-C007-20260413-r12445

Conversation

@yenkins-admin
Copy link
Copy Markdown
Contributor

Summary

Added read_result_arrow() to the Execution class, delegating to BareExecutionResponse.read_result_arrow(). The /binary endpoint for Apache Arrow execution results was already implemented in BareExecutionResponse using the raw call_api approach; the missing piece was exposing this method on the higher-level Execution class (which already delegated read_result() and cancel() to BareExecutionResponse but not read_result_arrow()). Added two unit tests verifying the delegation returns a pyarrow.Table and calls the correct /binary endpoint path.

Impact: new_feature | Services: gooddata-afm-client
Tickets: CQ-104

Files changed

  • packages/gooddata-sdk/src/gooddata_sdk/compute/model/execution.py
  • packages/gooddata-sdk/tests/compute/test_bare_execution_response.py

Source commits (gdc-nas)

  • 78be9c1 Merge pull request #21285 from gooddata/dho/cq-104-arrow-api
  • 81eb97a Merge pull request #21382 from gooddata/dho/cq-104-arrow-api-2
OpenAPI diff
+    "/api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/binary": {
+      "get": {
+        "description": "(BETA) Gets a single execution result as an Apache Arrow IPC File or Stream format.",
+        "operationId": "retrieveResultBinary",
+        "responses": {
+          "200": {
+            "content": {
+              "application/vnd.apache.arrow.file": { "schema": { "format": "binary", "type": "string" } },
+              "application/vnd.apache.arrow.stream": { "schema": { "format": "binary", "type": "string" } }
+            }
+          }
+        },
+        "summary": "(BETA) Get a single execution result in Apache Arrow File or Stream format",
+        "x-gdc-security-info": { "permissions": ["VIEW"] }
+      }
+    }

Workflow run


Generated by SDK OpenAPI Sync workflow

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.66%. Comparing base (d7f50b7) to head (08ec83f).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1539   +/-   ##
=======================================
  Coverage   78.66%   78.66%           
=======================================
  Files         230      230           
  Lines       15400    15402    +2     
=======================================
+ Hits        12114    12116    +2     
  Misses       3286     3286           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite 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.

1 participant