[jira] [Created] (CARBONDATA-1246) NullPointerException in Presto Integration
Posted by
Akash R Nilugal (Jira) on
Jun 29, 2017; 4:40am
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-1246-NullPointerException-in-Presto-Integration-tp16672.html
Jelly King created CARBONDATA-1246:
--------------------------------------
Summary: 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
Fix For: 1.2.0
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)