[ 
https://issues.apache.org/jira/browse/TRAFODION-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993892#comment-15993892
 ] 

ASF GitHub Bot commented on TRAFODION-2603:
-------------------------------------------

Github user robertamarton commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafodion/pull/1080#discussion_r114438388
  
    --- Diff: core/sql/parser/ParKeyWords.cpp ---
    @@ -832,7 +832,6 @@ ParKeyWord ParKeyWords::keyWords_[] = {
       ParKeyWord("PROTECTION",         TOK_PROTECTION,  NONRESTOKEN_),  
       ParKeyWord("PROTOTYPE",          TOK_PROTOTYPE,   COMPAQ_|RESWORD_),
       ParKeyWord("PUBLIC",             TOK_PUBLIC,      ANS_|RESWORD_),
    -  ParKeyWord("PUBLISH",            TOK_PUBLISH,     NONRESTOKEN_),
    --- End diff --
    
    sqlci/sqlci_yacc.y defines PUBLISH and UNPUBLISH as token.  May want to 
remove this also.


> Remove obsolete utility commands, turn off obsolete privileges
> --------------------------------------------------------------
>
>                 Key: TRAFODION-2603
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2603
>             Project: Apache Trafodion
>          Issue Type: Improvement
>          Components: sql-cmp
>    Affects Versions: 2.2-incubating
>         Environment: All
>            Reporter: David Wayne Birdsall
>            Assignee: David Wayne Birdsall
>
> The PUBLISH and UNPUBLISH commands were a feature in the predecessor product 
> and do not work in Trafodion. The specific need for them does not exist in 
> Trafodion, so these can be removed.
> The INITIALIZE TRAFODION, CREATE SEQUENCE utility was used to create the 
> SEQ_GEN table in the metadata to support sequences. That table is now created 
> as part of INITIALIZE TRAFODION, so there is no longer a need for the CREATE 
> SEQUENCE option. It can be removed.
> The DML_* component privileges allow the Root ID to grant various DML 
> privileges to any user, giving them the ability to do a given DML operation 
> on any Trafodion object. They don't work at the present. And the wisdom of 
> having such component privileges is debatable. For now, we would like to add 
> code that simply raises an error and says these privileges are not supported 
> if an attempt is made to grant them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to