Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1492#discussion_r176563291
--- Diff: core/sql/ustat/hs_parser.cpp ---
@@ -243,13 +243,6 @@ Lng32 AddTableName( const hs_table_type type
}
else
{
- // This is for UPDATE STATISTICS; the volatile schema name
exists.
- // For now, UPDATE STATISTICS is not supported. (See also JIRA
Trafodion-2004.)
-
- HSFuncMergeDiags(-UERR_VOLATILE_TABLES_NOT_SUPPORTED);
- retcode = -1;
- HSHandleError(retcode); // causes a return from this function
-
// The code below is old code that will be needed once we turn
on
// support for UPDATE STATISTICS on volatile tables. We leave
it here
--- End diff --
We could delete the comments "The code below is old code..." since we are
turning support back on.
---