16.20 - Dropping a Function For Which Statistics Are Being Collected - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

If you drop a UDF, Teradata Database no longer uses any statistics that involve it.

However, if the UDF is recreated with the same name and same return type, Teradata Database uses the statistics again.

If you change the functionality of the UDF however, you should recollect all of the statistics that had previously been collected on it.