[
https://issues.apache.org/jira/browse/CARBONDATA-1246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Venkata Ramana G resolved CARBONDATA-1246.
------------------------------------------
Resolution: Fixed
> 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 50m
> 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)