7.00.02 - Examples - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Aster Analytics
Release Number
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
English (United States)

The examples have the same Input and Output, but different SQL-MapReduce calls.

Examples 1 and 2 require that the file MaxMindLite.jar be installed on the Aster Database. This jar file contains the converter interface used in these examples, 'com.asterdata.sqlmr.analytics.location.ipgeo.MaxMindLite'.

Example 3 uses the default Converter class that ships with the ipgeo function (geolite 1.2.8).

The function requires two database files that map ip addresses to geographic locations (GeoLiteCity.dat and GeoLiteCityv6.dat). In Example 1, the files are referenced by pathname using the argument IpDatabaseLocation, and need not be installed on the Aster Database. Examples 2 and 3 assume that the two database files have been installed on the Aster Database.