drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haofeng Tang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2468) When create a custom function, including 3rd party library would cause the query to fail.
Date Sun, 15 Mar 2015 21:14:38 GMT
Haofeng Tang created DRILL-2468:
-----------------------------------

             Summary: When create a custom function, including 3rd party library would cause
the query to fail.
                 Key: DRILL-2468
                 URL: https://issues.apache.org/jira/browse/DRILL-2468
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Codegen, Execution - Relational Operators
    Affects Versions: 0.7.0, 0.8.0
         Environment: CentOS 64-bit
            Reporter: Haofeng Tang
            Assignee: Chris Westin


I followed these articles to create a custom function. I was able to repeat these examples
to build, and run queries using these new functions successfully. But if I used some 3rd party
libraries in my code, of cause with all dependencies resolved with maven, although I was able
to build, I receive an error "No applicable constructor/method found for actual parameters
"java.lang.Object";"
when I tried to use the added function in my query. Seems to be a classloader issue.

Thanks

---------------- reference articles --------------
https://cwiki.apache.org/confluence/display/DRILL/Develop+Custom+Functions
http://www.confusedcoders.com/bigdata/apache-drill/how-to-contribute-to-apache-drill-implementing-drill-math-functions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message