Github user aljoscha commented on the issue:
https://github.com/apache/flink/pull/5486
@kl0u Thanks for the review!
I changed the code to check `useTruncate` before calling. Regarding
`fsConfig`, the settings in there are for `FileSystem` while the settings that
are configured using a setter are for the behaviour of the `BucketingSink`
itself. Does that make sense?---
