You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "liu ming (JIRA)" <ji...@apache.org> on 2018/02/05 15:00:03 UTC
[jira] [Commented] (TRAFODION-2335) support functions in the column
default definition
[ https://issues.apache.org/jira/browse/TRAFODION-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352500#comment-16352500 ]
liu ming commented on TRAFODION-2335:
-------------------------------------
/* type pElemDDL */
col_def_default_clause_argument : literal_negatable
{
$$ = new (PARSERHEAP())
ElemDDLColDefault(
ElemDDLColDefault::COL_DEFAULT,
$1 /*literal*/);
}
| datetime_value_function
{
$$ = new (PARSERHEAP())
ElemDDLColDefault(
ElemDDLColDefault::COL_DEFAULT,
$1 /*datetime_value_function*/);
}
| builtin_function_user
{
$$ = new (PARSERHEAP())
ElemDDLColDefault(
ElemDDLColDefault::COL_DEFAULT,
$1 /*builtin_function_user*/);
}
| null_constant
{
$$ = new (PARSERHEAP())
ElemDDLColDefault(
ElemDDLColDefault::COL_DEFAULT,
$1 /*null_constant*/);
}
> support functions in the column default definition
> --------------------------------------------------
>
> Key: TRAFODION-2335
> URL: https://issues.apache.org/jira/browse/TRAFODION-2335
> Project: Apache Trafodion
> Issue Type: New Feature
> Reporter: liu ming
> Assignee: liu ming
> Priority: Minor
>
> It is possible to use Function in create table DDL for column default in some other RDBMS, it is desired to support that as well.
> Requirement is still not 100% clear, need further study.
> File JIRA to track first.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)