drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arina-ielchiieva <...@git.apache.org>
Subject [GitHub] drill issue #902: DRILL-5714: Fix NPE when mapr-db plugin is used in table f...
Date Thu, 10 Aug 2017 16:50:54 GMT
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.
---

Mime
View raw message