carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ray6080 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1113: [CARBONDATA-1246] fix null pointer exception ...
Date Thu, 29 Jun 2017 04:47:22 GMT
GitHub user ray6080 opened a pull request:

    https://github.com/apache/carbondata/pull/1113

    [CARBONDATA-1246] fix null pointer exception by changing null to empty array

    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.
    Change the `listFiles()` function to return an empty array, instead of a null value.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ray6080/carbondata master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/carbondata/pull/1113.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1113
    
----
commit e9e1fa7ad40f38103a7a0572ce58c49a1c1f6365
Author: Jin Guodong <jelly.guodong.jin@gmail.com>
Date:   2017-06-29T04:43:51Z

    fix null pointer exception by changing null to empty array

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message