[ 
https://issues.apache.org/jira/browse/DRILL-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922580#comment-16922580
 ] 

ASF GitHub Bot commented on DRILL-7343:
---------------------------------------

cgivre commented on issue #1840: DRILL-7343: Add User-Agent UDFs to Drill
URL: https://github.com/apache/drill/pull/1840#issuecomment-527935677
 
 
   @KazydubB 
   What happens in the `parse_query` function is that there is a duplicate 
function of the same name which allows null input which returns an empty list.  
I had tried this before, but apparently didn't use the correct parameters so it 
didn't work for me, BUT, now it does so yay!
   
   In any event, this seems like horrible design.  I'm going to open a JIRA to 
create a new function handler which returns an empty list on null.  That seems 
like a better approach than having to write 2 UDFS for every UDF with a complex 
writer output. 
   
   I also added a series of unit tests to test this functionality. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Add User-Agent UDFs to Drill
> ----------------------------
>
>                 Key: DRILL-7343
>                 URL: https://issues.apache.org/jira/browse/DRILL-7343
>             Project: Apache Drill
>          Issue Type: New Feature
>    Affects Versions: 1.17.0
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.17.0
>
>
> This collection of UDFs adds the ability to parse user agent strings which is 
> useful for security data analysis. 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to