Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PDI-15246] Group By with include all rows option does not clean up t…
…emp files - Closing streams before deleting file - Refactoring - Tests written More details: **GroupBy** - Closing streams before deleting files. - Logging an error if stream can't be closed - Logging detailed message if temp file wasn't deleted. I've chosen this log level because in most cases temp file wouldn't be deleted because streams to this file are not closed (and we do log about close-stream error) - Refactoring **GroupByData** - Changed name of streams, pointing that they are related to temp file only. **GroupByMeta** - Refactoring some field names **GroupByTest** - Updating to JUnit 4.0 - Added positive test for temp file deletion - No negative test added, as in this case it would be equivalent to testing logger. **messages** - Added message, notifying that temp file wasn't deleting - Refactored a message, notifying that connection to file wasn't closed. Pointing to the path of the file, where an error occurred.
- Loading branch information
Ivan Nikolaichuk
authored and
Ivan Nikolaichuk
committed
May 13, 2016
1 parent
85bf167
commit 9311efc
Showing
5 changed files
with
159 additions
and
119 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
Oops, something went wrong.