15.10 - Example: Use COLLECT STATISTICS with JSONExtractValue - Teradata Database

Teradata Database Teradata JSON

Product
Teradata Database
Release Number
15.10
Published
December 2015
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
TeradataJSON_15_10.ditamap
dita:ditavalPath
ft:empty
The example uses COLLECT STATISTICS with portions of a JSON instance extracted by JSONExtractValue.
COLLECT STATISTICS COLUMN j.JSONExtractValue('$.name') AS name_stats ON json_table;