Hello everyone, 
I’m working on a UDF (https://github.com/cgivre/drill-geoip-functions 
<https://github.com/cgivre/drill-geoip-functions>) that does a bunch of IPGEO 
stuff.  So far it works relatively well, but I encountered a Null Pointer 
Exception that I’m not quite sure how to resolve. 

If I execute the query:

SELECT getCountryInfo( ip ) 
FROM dfs.`data.csv`

It works.  If I try:

SELECT getCountryInfo (ip)
FROM dfs.`data.*`

It works..
But, I have data that is spread across multiple directories and when I try to 
use this function like this, I get Null Pointer Exceptions.  Any suggestions?

SELECT getCountryInfo( ip )
FROM dfs.`dir1/`

(assuming dir1 contains other directories).

Thanks
— Charles

Reply via email to