drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [drill] arina-ielchiieva commented on a change in pull request #1840: DRILL-7343: Add User-Agent UDFs to Drill
Date Thu, 05 Sep 2019 12:27:27 GMT
arina-ielchiieva commented on a change in pull request #1840: DRILL-7343: Add User-Agent UDFs
to Drill
URL: https://github.com/apache/drill/pull/1840#discussion_r321226710
 
 

 ##########
 File path: contrib/udfs/README.md
 ##########
 @@ -0,0 +1,58 @@
+# Drill User Defined Functions
+
+This `README` documents functions which users have submitted to Apache Drill.  
+
+## User Agent Functions
+Drill UDF for parsing User Agent Strings.
+This function is based on Niels Basjes Java library for parsing user agent strings which
is available here: https://github.com/nielsbasjes/yauaa.
+
+### Usage
+The function `parse_user_agent()` takes a user agent string as an argument and returns a
map of the available fields.  Note that not every field will be present in every user agent
string. 
 
 Review comment:
   ```suggestion
   The function `parse_user_agent()` takes a user agent string as an argument and returns
a map of the available fields. Note that not every field will be present in every user agent
string. 
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message