Github user xuchuanyin commented on the issue:
https://github.com/apache/carbondata/pull/2536
why not throw IOException so that user can explicitly know and handle the
exception.
In your implementation, when there is a problem, the user will get RTE
instead of NPE which I think thereâs no difference.---
