GitHub user HanumathRao opened a pull request:

    https://github.com/apache/drill/pull/1007

    MD-2888: Selecting a non-existing field from a MapR-DB JSON table fai…

    …ls with NPE
    
    @amansinha100 @adityakishore 
    These changes are about having a special handling in case if the query 
contains no fields that are present in the maprdb json table. I have looked at 
other readers which are having this special handling. Here are the readers 
which do the special handling now.
    JSONRecordReader and ParquetRecordReader.
    
    With out these changes the upstream operator are getting not populated 
vectors and hence they throw nullpointer exception. 


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

    $ git pull https://github.com/HanumathRao/drill DRILL-5864

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

    https://github.com/apache/drill/pull/1007.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 #1007
    
----
commit f39aecaef95f1fe2737cc22f22d0468f1b0c1242
Author: Hanumath Rao Maduri <hmad...@maprtech.com>
Date:   2017-10-12T00:07:22Z

    MD-2888: Selecting a non-existing field from a MapR-DB JSON table fails 
with NPE

----


---

Reply via email to