Examples - Aster Analytics

Teradata Aster Analytics Foundation User Guide

Product
Aster Analytics
Release Number
6.21
Published
November 2016
Language
English (United States)
Last Update
2018-04-14
dita:mapPath
kiu1466024880662.ditamap
dita:ditavalPath
AA-notempfilter_pdf_output.ditaval
dita:id
B700-1021
lifecycle
previous
Product Category
Software

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.