GitHub user DaveBirdsall opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1312
[TRAFODION-2819] Fix 4247 error on drop table when certain CQDs are present
When CQD TRAF_MAX_CHARACTER_COL_LENGTH is set to a value lower than '500',
then DROP TABLE will fail when it tries to do a DELETE under the covers on the
SB_HISTOGRAMS table. The latter fails with error 4247, raised in
CmpSeabaseDDL::getColInfo (sqlcomp/CmpSeabaseDDLcommon.cpp).
The fix is to change CmpSeabaseDDL::getColInfo to exempt metadata,
histogram and repository tables from the maximum column length check.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DaveBirdsall/incubator-trafodion Trafodion2819
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1312.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 #1312
commit d96f3c7c136eab380acbd3f481ff1f738e16306d
Author: Dave Birdsall
Date: 2017-11-27T21:35:35Z
[TRAFODION-2819] Fix 4247 error on drop table when certain CQDs are present
---