GitHub user DaveBirdsall opened a pull request:
https://github.com/apache/trafodion/pull/1649
[TRAFODION-3148] Fix UPDATE STATS bug on Hive tables w/ column _DIVISION_1_
This fixes a bug concerning sample tables created by UPDATE STATISTICS on
Hive tables.
When a Hive table had a column named "_DIVISION_1_" (or any other reserved
Trafodion column name), the UPDATE STATISTICS command would fail if a sample
table needed to be created. The failure would occur because we would not
include "_DIVISION_1_" etc. in the select list of the UPSERT/SELECT statement
used to populate the sample table.
This has been fixed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/DaveBirdsall/trafodion Trafodion3148
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1649.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 #1649
----
commit d3945fe7973cd001b3b5268e53b4d1117f45d54f
Author: Dave Birdsall <dbirdsall@...>
Date: 2018-07-16T20:41:21Z
[TRAFODION-3148] Fix UPDATE STATS bug on Hive tables w/ column _DIVISION_1_
----
---