GitHub user DaveBirdsall opened a pull request:
https://github.com/apache/trafodion/pull/1663
[TRAFODION-3152] Fix bug in UPDATE STATISTICS CREATE SAMPLE
If the "_HIVESTATS_" schema didn't already exist, UPDATE STATISTICS ...
CREATE SAMPLE and UPDATE STATISTICS ... REMOVE SAMPLE would fail with weird
errors.
With this change, they now will succeed. The "_HIVESTATS_" schema and
associated histogram tables will be created automatically.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DaveBirdsall/trafodion Trafodion3152
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1663.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1663
commit f79b3e5ed5924f78632f3b2815ead1281e77e66a
Author: Dave Birdsall
Date: 2018-07-24T23:03:20Z
[TRAFODION-3152] Fix bug in UPDATE STATISTICS CREATE SAMPLE
---