Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ttools: fix upload matcher to cope with empty input tables
The CDS upload service currently fails with an error, at least under some circumstances (selection=all) if there are no rows in the input table. So add logic which is able, configurably, to fail the match with a well-behaved IOException in the case of zero input rows rather than attempt the match. Once the CDS service copes with empty upload tables this should perhaps be switched back, since an empty output table may be of some use (at least you can get the columns). Or maybe not, you probably don't want to keep the result.
- Loading branch information
Showing
4 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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 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 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