Skip to content

Leemoonsoo/zeppelin-geoip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zeppelin-geoip

This Zeppelin library which adds GeoIP conversion UDF with dependencies and creates a temporary function to use it.

Usage

Install 'geoip' through ZAN menu on Zeppelin

SELECT
  geocode_ip(remote_ip, 'city', 'GeoLiteCity.dat') as city,
  geocode_ip(remote_ip, 'country', 'GeoLiteCity.dat') as country
FROM nginx_log limit 50;

Source

Hive UDF

About

Zeppelin geoip library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published