7.00.02 - Example 4: Path and Exclude Arguments with Regular Expressions - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)

This SQL-MapReduce call parses all PST files in /test/ subdirectories test1 through test9, excluding those in subdirectory Sent Items/2012/:

SELECT * FROM PSTParserAFS (
  ON empty_table
  Path ('/test[1-9]/[a-z]*')
  Exclude ('Sent I[a-z]*/2012/[a-z]')
);