[
https://issues.apache.org/jira/browse/CARBONDATA-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhavya Aggarwal reassigned CARBONDATA-1246:
-------------------------------------------
Assignee: Bhavya Aggarwal
> NullPointerException in Presto Integration
> ------------------------------------------
>
> Key: CARBONDATA-1246
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1246> Project: CarbonData
> Issue Type: Bug
> Components: presto-integration
> Affects Versions: 1.1.0
> Reporter: Jelly King
> Assignee: Bhavya Aggarwal
> Labels: beginner
> Fix For: 1.2.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> In presto integration, _CarbonFile.listFiles()_ function will return null when the specified _fileStatus_ is not a directory or is null. This will incur a NullPointerException when called by _CarbonTableReader.updateTableList()_ function.
> The _listFiles()_ function should return an empty array or throw a new exception to indicate users, instead of returning a null value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)