[
https://issues.apache.org/jira/browse/TRAFODION-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14705114#comment-14705114
]
ASF GitHub Bot commented on TRAFODION-1459:
-------------------------------------------
GitHub user zellerh opened a pull request:
https://github.com/apache/incubator-trafodion/pull/63
TRAFODION-1459 SHOWDDL shows incorrect DIVISION BY + regressions fix
Fixing 1459 and also checking in a new expected file that should solve
the compGeneral/TEST042 failures we have seen over the past two days,
caused by my earlier commit. The expected file + known diffs worked on
a debug build, but it is not sufficient for a release build.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zellerh/incubator-trafodion bug/1129
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/63.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 #63
----
commit 97d0c785d03a2f38b14a31aad024c56c15455f7e
Author: Hans Zeller <[email protected]>
Date: 2015-08-20T15:15:20Z
TRAFODION-1459 SHOWDDL shows incorrect DIVISION BY + regressions fix
Fixing 1459 and also checking in a new expected file that should solve
the compGeneral/TEST042 failures we have seen over the past two days,
caused by my earlier commit. The expected file + known diffs worked on
a debug build, but it is not sufficient for a release build.
----
> SHOWDDL shows incorrect CAST in DIVISION BY clause
> --------------------------------------------------
>
> Key: TRAFODION-1459
> URL: https://issues.apache.org/jira/browse/TRAFODION-1459
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: Hans Zeller
> Assignee: Hans Zeller
>
> When creating a divisioned table, in some cases we need to use a cast
> operator, such as in
> create table tdiv(a int not null primary key)
> DIVISION BY (CAST(a/10000 AS INTEGER NOT NULL));
> The SHOWDDL command will not show the NOT NULL in this syntax.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)