-
Notifications
You must be signed in to change notification settings - Fork 0
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
Output Mapping - Support for treat values as null flag #334
base: main
Are you sure you want to change the base?
Conversation
@@ -2276,4 +2469,47 @@ private function getTableIdFromJobDetail(array $jobData): string | |||
|
|||
self::fail(sprintf('Cannot detect tableId from %s job', $operationName)); | |||
} | |||
|
|||
private function findTableCreateJobForTable(string $tableId, array $jobsIds): ?array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JobIds jsou v poradi, v jakem Finder nasel soubory na disku. Ted tam neni sort a lokalne a na CI to jde v jinem poradi. Proto to musim vyhledavat.
Sakra mám tam renonc. Ono to bude fungovat jen pro tabulky, které byly založené už dříve. U těch, které založil OM před samotným importem ne. To musím upravit tu podmínku a testy. Náhodou jsem si toho všiml v docker-bundle :) |
0450400
to
57636ea
Compare
$source->getDestination()->getTableName(), | ||
)); | ||
} | ||
$loadOptions['treatValuesAsNull'] = $treatValuesAsNullConfiguration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Posila se vzdy, i pri zalozeni tabulky z CSV. To ted nicemu nevadi, protoze ten endpoint dovoluje extraKeys.
@ondrajodas uz je to ready |
@@ -49,7 +49,6 @@ | |||
</testsuite> | |||
<testsuite name="new-native-types"> | |||
<file>tests/Writer/TableDefinitionV2Test.php</file> | |||
<file>tests/TableLoaderTest.php</file> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neni potreba, protoze to co to testovalo jsem presunul do TableCreator a ma to vlastni testy
Part of https://keboola.atlassian.net/browse/PST-1468