-
Notifications
You must be signed in to change notification settings - Fork 0
feat(output-mapping): AJDA-2946 store description only when table flag is system-managed #550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
zajca
merged 11 commits into
main
from
zajca/AJDA-2946-om-description-system-managed-flag
Aug 3, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7250af0
feat(output-mapping): AJDA-2946 store description only when table fla…
zajca 5738bff
fix(output-mapping): AJDA-2946 diff descriptions, gate backend, stop …
zajca e1be747
test(output-mapping): drop removed backends from the unsupported-back…
zajca 3534278
refactor(output-mapping): drop the backend gate for storing descriptions
zajca d2b23cb
feat(output-mapping): AJDA-2946 embed descriptions in the create payload
zajca 84bd8df
test(output-mapping): cover descriptions against real Storage
zajca bf9ef17
fix(output-mapping): resolve a column description from the first meta…
zajca 218f198
refactor(output-mapping): address review of the description handling
zajca 3f4582f
test(output-mapping): fold the description coverage into existing tests
zajca 1efaf13
test(output-mapping): keep the legacy typed update test free of descr…
zajca 1fc736c
test(output-mapping): assert the datatype metadata Storage really ret…
zajca File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| <?php | ||
|
|
||
| declare(strict_types=1); | ||
|
|
||
| namespace Keboola\OutputMapping; | ||
|
|
||
| use Keboola\OutputMapping\DeferredTasks\LoadTableTaskInterface; | ||
| use Keboola\OutputMapping\Storage\TableDescription; | ||
|
|
||
| /** | ||
| * Outcome of LoadTableTaskCreator::create() - the load task itself plus the descriptions which the creator | ||
| * could not hand over to Storage yet. | ||
| */ | ||
| class LoadTableTaskResult | ||
| { | ||
| /** | ||
| * @param TableDescription|null $descriptionsNotEmbeddedInCreatePayload descriptions which could not be | ||
| * part of a create-table-definition payload, because the table is created by the load job itself; | ||
| * null when there is nothing left to do - the descriptions were embedded in the create payload, they | ||
| * were already applied to a table which existed before, or there is no description at all | ||
| */ | ||
| public function __construct( | ||
| private readonly LoadTableTaskInterface $loadTableTask, | ||
| private readonly ?TableDescription $descriptionsNotEmbeddedInCreatePayload = null, | ||
| ) { | ||
| } | ||
|
|
||
| public function getLoadTableTask(): LoadTableTaskInterface | ||
| { | ||
| return $this->loadTableTask; | ||
| } | ||
|
|
||
| public function getDescriptionsNotEmbeddedInCreatePayload(): ?TableDescription | ||
| { | ||
| return $this->descriptionsNotEmbeddedInCreatePayload; | ||
| } | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.