feat(gooddata-sdk): [AUTO] Add refresh-partition endpoint for AI Lake pipe tables#1626
Open
yenkins-admin wants to merge 3 commits into
Open
feat(gooddata-sdk): [AUTO] Add refresh-partition endpoint for AI Lake pipe tables#1626yenkins-admin wants to merge 3 commits into
yenkins-admin wants to merge 3 commits into
Conversation
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.
Summary
Added refresh_partition method to CatalogAILakeService. Since RefreshPartitionRequest is not yet in the generated gooddata-api-client, the method uses a raw requests.post call following the same URL-construction pattern as GoodDataApiClient._do_post_request. Seeds a client-side UUID as the operation-id (matching the analyze_statistics pattern), sends it as an HTTP header, and returns it so callers can poll via get_operation / wait_for_operation.
Impact: new_feature | Services:
afm-exec-apiSource commits (gdc-nas):
ec3f4d3by Dan Homola — Merge pull request #23181 from gooddata/dho/refresh-partitionFiles changed
packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.pypackages/gooddata-sdk/tests/catalog/unit_tests/test_ai_lake_service.pypackages/gooddata-sdk/tests/catalog/test_catalog_ai_lake.pyAgent decisions
Decisions (4)
raw HTTP instead of generated client — Use requests.post directly in CatalogAILakeService.refresh_partition
operation-id seeding strategy — Seed a UUID on the client side and send it as the operation-id request header, returning the same UUID to the caller
no new init.py export — refresh_partition is a method on the already-exported CatalogAILakeService; no new class or alias needs re-exporting
integration test scope — Single test (test_refresh_partition) that supplies a fixed operation_id for cassette determinism and asserts the returned ID matches
Assumptions to verify (3)
Risks (2)
Layers touched (2)
packages/gooddata-sdk/src/gooddata_sdk/catalog/ai_lake/service.pypackages/gooddata-sdk/tests/catalog/unit_tests/test_ai_lake_service.pypackages/gooddata-sdk/tests/catalog/test_catalog_ai_lake.pyOpenAPI diff
Workflow run
Generated by SDK OpenAPI Sync workflow