Github user selvaganesang commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/898#discussion_r94878400
--- Diff: core/sql/executor/ExExeUtilGetStats.cpp ---
@@ -2319,47 +2321,38 @@ short ExExeUtilGetRTSStatisticsTcb::work()
{
if (measStatsItems_ == NULL)
{
- maxMeasStatsItems_ = 35;
+ maxMeasStatsItems_ = 26;
--- End diff --
It looks like I looked at the wrong file ResStatisticsStatement.cpp when I
responded to Arvind. Hence I didn't catch the issue with duplicate index 22
measStatsItems_[22].statsItem_id = SQLSTATS_SCRATCH_BUFFER_BLOCKS_READ;
measStatsItems_[22].statsItem_id = SQLSTATS_SCRATCH_BUFFER_BLOCKS_WRITTEN;
measStatsItems_[23].statsItem_id = SQLSTATS_SCRATCH_READ_COUNT;
measStatsItems_[24].statsItem_id = SQLSTATS_SCRATCH_WRITE_COUNT;
I will fix it
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---