Example: Use COLLECT STATISTICS with a JSON Entity Reference - Teradata Vantage NewSQL Engine - 16.20

Teradata Vantageā„¢ JSON Data Type

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1150-162K
The example shows how to use COLLECT STATISTICS with portions of a JSON instance specified in a JSON Entity Reference.
COLLECT STATISTICS COLUMN j.name AS name_stats ON json_table;