DaveBirdsall commented on a change in pull request #1848: [TRAFODION-3316]
Three fixes to UPDATE STATISTICS
URL: https://github.com/apache/trafodion/pull/1848#discussion_r301756879
##########
File path: core/sql/ustat/hs_globals.cpp
##########
@@ -4307,11 +4302,12 @@ Lng32 HSSample::make(NABoolean rowCountIsEstimate, //
input
// 2 cqds allow user control of these retries.
Int32 centiSecs = getDefaultAsLong(USTAT_RETRY_DELAY);
Int32 limit = getDefaultAsLong(USTAT_RETRY_LIMIT);
+ Int64 printPlan = 1;
if (limit < 1 || centiSecs < 1) // user does not want any retry
Review comment:
Yes, I wanted to do this. Unfortunately, there are over 100 calls to
HSFuncExecQuery, so I chose not to do that now. (It also complicates the merge
up into derivative products, as there are even more calls to HSFuncExecQuery
there.)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services