Generate a Query |nPath|In-DB Analytic Functions Explorer - Generate a Query using nPath - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-004K
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
tcl1683670667798

Follow these steps to generate an analytic query using nPath:

  1. From the Functions pane, select any function by its name or category.
  2. When the function appears on the right side of the page as a function card, click BUILD QUERY.
    The following page opens:
  3. Under Input data, select Database and Table options from the drop down.
  4. Click Next.
    The following page opens:
  5. Under Function parameters:
    • Select starting and ending patterns.
    • Mention minimum and maximum number of events. Minimum number is 2 and maximum is 5.
    • Path length must be set to 25.
    • Select the appropriate Mode from the drop down.
    • In the Session field, enter the appropriate Field and Value information.
      To see the description of the Session field, hover over the information icon next to the field.
  6. Click View Query.
    This automatically builds the query based on the function and the data (input data and parameter values) you entered. The generated query appears in the Editor.