[
https://issues.apache.org/jira/browse/TRAFODION-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15665955#comment-15665955
]
ASF GitHub Bot commented on TRAFODION-2170:
-------------------------------------------
GitHub user traflm opened a pull request:
https://github.com/apache/incubator-trafodion/pull/834
[TRAFODION-2170] certain create table DDL will fail with core dump
If the DDL has defined the total cluster key length greater than 2048, it
will corrupt the memory and cause various core dump.
the fix is to allocate enough memory for the given key. It is not
recommended to use very long clustering key, but should be allowed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/traflm/incubator-trafodion TRAFODION-2170-new
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/834.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 #834
----
commit 25fb23e522c1c1a643ea2b7045dffe8ca548dc4c
Author: Liu Ming <[email protected]>
Date: 2016-11-15T02:30:14Z
[TRAFODION-2170] certain create table DDL will fail with core dump
----
> certain create table DDL will fail with core dump
> -------------------------------------------------
>
> Key: TRAFODION-2170
> URL: https://issues.apache.org/jira/browse/TRAFODION-2170
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: liu ming
> Assignee: liu ming
>
> create table test2170 (
> c1 varchar(255) CHARACTER SET UTF8 not null,
> c2 varchar(256) CHARACTER SET UTF8 not null,
> c3 varchar(256) CHARACTER SET UTF8 not null,
> c4 int not null ,
> c5 int,
> primary key(c1,c2,c3,c4))
> salt using 4 partitions ;
> This will fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)