keboola / output-mapping
Shared component for processing SAPI output mapping and importing data to KBC
Installs: 34 588
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 15
Forks: 0
pkg:composer/keboola/output-mapping
Requires
- php: >=8.2
- ext-json: *
- keboola/input-mapping: *@dev
- keboola/key-generator: *@dev
- keboola/php-datatypes: ^8.0
- keboola/php-file-storage-utils: ^0.2
- keboola/sanitizer: ^0.1.1
- keboola/slicer: *@dev
- keboola/staging-provider: *@dev
- keboola/storage-api-client: ^18.0
- keboola/storage-api-php-client-branch-wrapper: ^6.0
- microsoft/azure-storage-blob: ^1.5
- psr/log: ^2.0|^3.0
- symfony/config: ^5.4|^6.0|^7.0
- symfony/finder: ^5.4|^6.0|^7.0
- symfony/serializer: ^5.4|^6.0|^7.0
- symfony/yaml: ^5.4|^6.0|^7.0
Requires (Dev)
- brianium/paratest: ^6.11
- keboola/coding-standard: >=14.0
- keboola/php-temp: ^2.0
- monolog/monolog: ^3.0
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-symfony: ^1.2
- phpunit/phpunit: ^9.5
- sempro/phpunit-pretty-print: ^1.4
- symfony/dotenv: ^5.4|^6.0|^7.0
- dev-main
- 27.3.0
- 27.2.1
- 27.2.0
- 27.1.0
- 27.0.2
- 27.0.1
- 27.0.0
- 26.0.0
- 25.0.0
- 24.42.1
- 24.42.0
- 24.41.1
- 24.41.0
- 24.40.0
- 24.39.1
- 24.39.0
- 24.38.0
- 24.37.0
- 24.36.0
- 24.35.0
- 24.34.0
- 24.33.0
- 24.32.0
- 24.31.1
- 24.31.0
- 24.30.0
- 24.29.0
- 24.28.0
- 24.27.0
- 24.26.0
- 24.25.0
- 24.24.0
- 24.23.0
- 24.22.0
- 24.21.1
- 24.21.0
- 24.20.1
- 24.20.0
- 24.19.1
- 24.19.0
- 24.18.2
- 24.18.1
- 24.18.0
- 24.17.1
- 24.17.0
- 24.16.1
- 24.16.0
- 24.15.0
- 24.14.0
- 24.13.0
- 24.12.1
- 24.12.0
- 24.11.0
- 24.10.0
- 24.9.0
- 24.8.0
- 24.7.0
- 24.6.0
- 24.5.0
- 24.4.0
- 24.3.0
- 24.2.0
- 24.1.0
- 24.0.0
- 23.1.0
- 23.0.0
- 22.9.7
- 22.9.6
- 22.9.5
- 22.9.4
- 22.9.3
- 22.9.2
- 22.9.1
- 22.9.0
- 22.8.0
- 22.7.6
- 22.7.5
- 22.7.4
- 22.7.3
- 22.7.2
- 22.7.1
- 22.7.0
- 22.6.0
- 22.5.0
- 22.4.0
- 22.3.1
- 22.3.0
- 22.2.0
- 22.1.0
- 22.0.0
- 21.8.0
- 21.7.0
- 21.6.1
- 21.6.0
- 21.5.0
- 21.4.1
- 21.4.0
- 21.3.0
- 21.2.0
- 21.1.0
- 21.0.0
- 20.1.0
- 20.0.6
- 20.0.5
- 20.0.4
- 20.0.3
- 20.0.2
- 20.0.1
- 20.0.0
- 19.3.6
- 19.3.5
- 19.3.4
- 19.3.3
- 19.3.2
- 19.3.1
- 19.3.0
- 19.2.0
- 19.1.1
- 19.1.0
- 19.0.0
- 18.3.0
- 18.2.0
- 18.1.0
- 18.0.1
- 18.0.0
- 17.1.1
- 17.1.0
- 17.0.0
- 16.0.3
- 16.0.2
- 16.0.1
- 16.0.0
- 15.2.0
- 15.1.0
- 15.0.1
- 15.0.0
- 14.10.1
- 14.10.0
- 14.9.0
- 14.8.1
- 14.8.0
- 14.7.0
- 14.6.0
- 14.5.1
- 14.5.0
- 14.4.0
- 14.3.0
- 14.2.0
- 14.1.0
- 14.0.0
- 13.2.0
- 13.1.2
- 13.1.1
- 13.1.0
- 13.0.0
- 12.6.0
- 12.5.2
- 12.5.1
- 12.5.0
- 12.4.1
- 12.4.0
- 12.3.0
- 12.2.1
- 12.2.0
- 12.1.0
- 12.0.0
- 11.1.2
- 11.1.1
- 11.1.0
- 11.0.0
- 10.0.0
- 9.1.1
- 9.1.0
- 9.0.0
- 8.3.0
- 8.2.0
- 8.1.0
- 8.0.0
- 7.0.2
- 7.0.1
- 7.0.0
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.0.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.0
- 2.0.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-devin/1760948558-query-api-client-pr-comments
- dev-erik-devin-readme
- dev-AJDA-1052-ondra
- dev-ST-devin-1760626167-single-job-submission-optimization
- dev-devin/AJDA-1087-1760625607-consolidate-workspace-loads
- dev-erik-AJDA-1087-single-job
- dev-miro-AJDA-1167-2
- dev-miro-AJDA-1167
- dev-erik-AJDA-594-part2
- dev-zajca-event-grid
- dev-pepa_PAT-64_podWatch
- dev-ujovlado-snowflake-size
- dev-PST-2442-ondra
- dev-roman-pst-1710
- dev-pepa_k8s_deployment
- dev-pepa_azClientNamedArgs
This package is auto-updated.
Last update: 2025-10-20 11:02:15 UTC
README
Output mapping library for Keboola Runner and Workspaces. Processes component outputs and uploads them to Keboola Storage API.
Tables:
- Local staging: Uploads tables as gzipped CSV files to Storage API
- Slicing: Large CSV files are automatically split into multiple compressed chunks for parallel upload (via external slicer binary)
- Requires:
output-mapping-slicefeature flag, default CSV format (,delimiter,"enclosure), no customcolumnsmapping - Sliced files must have
columnsorschemaspecified in configuration
- Requires:
- Slicing: Large CSV files are automatically split into multiple compressed chunks for parallel upload (via external slicer binary)
- Workspace staging (Snowflake/BigQuery): Loads tables directly from workspace database objects (no file upload, no slicing)
Files:
- Uploads files as-is to Storage API File Storage (works with all staging types)
Development
Prepare local environment
Create .env.local file from this .env template and fill the required environment variables:
cp .env .env.local
Prepare resources
You need to provide the following environment variables:
STORAGE_API_URL- The Keboola Storage API URL (e.g.,https://connection.keboola.com)STORAGE_API_TOKEN- A non-admin token with "Full Access" to Files, Components & Buckets and TrashSTORAGE_API_TOKEN_MASTER- An admin user token from the same project (with roleadmin)
Optional (for BigQuery-specific tests only):
BIGQUERY_STORAGE_API_URL- BigQuery Storage API URL (e.g.,https://connection.keboola.com)BIGQUERY_STORAGE_API_TOKEN- A non-admin token with "Full Access" to Files, Components & Buckets and Trash from a project with BigQuery backend
Available composer commands
Development commands:
composer phpcs- Check code stylecomposer phpcbf- Automatically fix code style issuescomposer phpstan- Run static analysis
Testing commands:
composer tests- Run tests with PHPUnitcomposer paratests- Run tests in parallel with Paratest
License
MIT licensed, see LICENSE file.