carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jelly King (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1246) NullPointerException in Presto Integration
Date Thu, 29 Jun 2017 04:40:00 GMT
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)

Mime
View raw message