Skip to content

feat(gooddata-sdk): add CSV upload support for GDSTORAGE data sources#1410

Merged
hkad98 merged 2 commits intogooddata:masterfrom
hkad98:jkd/csv-upload
Mar 13, 2026
Merged

feat(gooddata-sdk): add CSV upload support for GDSTORAGE data sources#1410
hkad98 merged 2 commits intogooddata:masterfrom
hkad98:jkd/csv-upload

Conversation

@hkad98
Copy link
Contributor

@hkad98 hkad98 commented Mar 13, 2026

Summary

  • Regenerate gooddata-api-client with the result OpenAPI spec, bringing typed endpoints and models for CSV staging upload, CSV analysis, CSV import, file listing, file deletion, and CSV file manifest reading
  • Add upload_csv method to CatalogDataSourceService that handles end-to-end CSV upload: staging upload, CSV analysis, and CSV import into a GDSTORAGE data source
  • Fix null-byte regex pattern (\\x00) in rest.py that was dropped by OpenAPI Generator during regeneration
  • Remove generated pyproject.toml from gooddata-api-client to fix dev release version bumping (tbump has no entry for it, causing uv build to use the unbumped version)

The OpenAPI Generator regeneration in e47faf7 introduced a
pyproject.toml for gooddata-api-client. Since tbump has no entry for
this file, uv build picks up the unbumped version from pyproject.toml
instead of the bumped VERSION in setup.py, producing a wheel whose
version already exists on PyPI.

Remove the file so the build continues to use setup.py as the sole
version source, matching the tbump configuration.

jira: TRIVIAL
risk: nonprod
Refresh the lockfile so gooddata-api-client dependencies are resolved
from setup.py instead of the removed pyproject.toml.

jira: TRIVIAL
risk: nonprod
@hkad98 hkad98 enabled auto-merge March 13, 2026 15:08
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.45%. Comparing base (34d53d0) to head (5bef7af).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1410   +/-   ##
=======================================
  Coverage   77.45%   77.45%           
=======================================
  Files         225      225           
  Lines       14661    14661           
=======================================
  Hits        11355    11355           
  Misses       3306     3306           

☔ 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.

@hkad98 hkad98 merged commit 12e1e2d into gooddata:master Mar 13, 2026
12 checks passed
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