GitHub user traflm opened a pull request:
https://github.com/apache/trafodion/pull/1441
[TRAFODION-2908] create table with wrong char length hang and crash
add a check if the key length is too long report error. Otherwise, SQL will
go into a very long process to build the encoded key and finally failed. And in
some cases crash, it makes little sense to check why it crash, so just add
check and return error when key is too long.
HBase max rowkey len is 32K, so it is the hard limit for now.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/traflm/trafodion TRAFODION-2908
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1441.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 #1441
----
commit 5f5808ab9d66bc2fba02292b3a0e5c371d3f5678
Author: Liu Ming <ovis_poly@...>
Date: 2018-02-05T08:11:50Z
[TRAFODION-2908] create table with wrong char length hang and crash
----
---