[jira] [Created] (CARBONDATA-1246) NullPointerException in Presto Integration

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1246) NullPointerException in Presto Integration

Akash R Nilugal (Jira)
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)