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

Teradata Database Teradata JSON

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1150-151K
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;