You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by arina-ielchiieva <gi...@git.apache.org> on 2017/08/10 16:50:54 UTC

[GitHub] drill issue #902: DRILL-5714: Fix NPE when mapr-db plugin is used in table f...

Github user arina-ielchiieva commented on the issue:

    https://github.com/apache/drill/pull/902
  
    @paul-rogers, thansk for the code review. 
    
    Here is short description, hope it would be helpful:
    The main change is in `MapRDBSubScan` class. The problem was that mapr-db plugin was trying to get format plugin from the default list of format plugins (which is created at Drill start up) but since table function uses custom format it was getting null value. For this case we need to get format plugin from `StoragePluginRegistry` which will create format plugin if it is absent in the list of default ones. For example, the same approach is used in `EasySubScan` class which is used for text plugin.



---
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.
---