[
https://issues.apache.org/jira/browse/DRILL-6634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558681#comment-16558681
]
ASF GitHub Bot commented on DRILL-6634:
---------------------------------------
paul-rogers commented on issue #1403: DRILL-6634: Add udf module under contrib
directory and move some udfs into it
URL: https://github.com/apache/drill/pull/1403#issuecomment-408180876
@arina-ielchiieva: question: as you know, Drill functions are quite
difficult to debug -- they rely on code generation and code rewriting, one
cannot simply step through the code.
UDFs are also hard to test: one needs to set up the inputs to the functions
just right to test all cases.
I've found that using the Drill unit test framework is very helpful,
especially for setting up input data and verifying output data. However, as
some dev list user pointed out, the test classes were not historically
available to code outside the `exec` module. Perhaps Tim's recent changes fixed
this so that unit test classes are available in `contrib`?
In short, the request is that we ensure that code in `contrib` can be
debugged and tested the same way as code in `exec`. Else, people will have to
do what I found I had to do recently: develop the code in `exec`, then, once it
is done, move it to `contrib`. If I had to make changes, I had to temporarily
move it back to `exec`. Let's make sure that this is no longer necessary.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add udf module under contrib directory and move some udfs into it
> -----------------------------------------------------------------
>
> Key: DRILL-6634
> URL: https://issues.apache.org/jira/browse/DRILL-6634
> Project: Apache Drill
> Issue Type: Task
> Affects Versions: 1.14.0
> Reporter: Arina Ielchiieva
> Assignee: Arina Ielchiieva
> Priority: Major
> Fix For: 1.15.0
>
>
> 1. Create udf module under contrib.
> 2. Move udfs from DRILL-6519, DRILL-5834, DRILL-5634 from exec to new module.
> 3. Integrate gis module into new module.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)