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

    https://github.com/apache/incubator-trafodion/pull/760#discussion_r83070635
  
    --- Diff: docs/messages_guide/src/asciidoc/_chapters/ddl_msgs.adoc ---
    @@ -3044,3 +3044,146 @@ statement.
     *Recovery:* Remove the creation of triggers from the CREATE SCHEMA
     statement and resubmit. Create triggers in separate statements.
     
    +<<<
    +[[SQL-1420]]
    +== SQL 1420
    +
    +```
    +Column <column-name> cannot be dropped or altered as it is part of the 
table's primary key.
    +```
    +
    +*Cause:* You attempted to drop a column that is a part of a primary key.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* Correct the column name or table name as appropriate and 
resubmit.
    +
    +[[SQL-1421]]
    +== SQL 1421 
    +
    +```
    +Column <column-name> cannot be dropped or altered as it is used in the 
secondary index <index-name>.
    +```
    +
    +*Cause:* You attempted to drop a column, but that column is used by the 
secondary index named.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* If the secondary index is no longer needed, drop it and 
resubmit. If the column
    +name or table name are incorrect, correct them and resubmit.
    +
    +[[SQL-1422]]
    +== SQL 1422 
    +
    +```
    +An invalid HBase name was specified in this DDL statement. A valid name 
can only contain these characters: [a-zA-Z_0-9-.]
    +```
    +
    +*Cause:* You attempted to use a name containing an invalid character for a 
{project-name} object that is
    +stored in HBase.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* Correct the name and resubmit.
    +
    +<<<
    +[[SQL-1423]]
    +== SQL 1423
    +
    +```
    +Insert into metadata table <table-name> failed.
    +```
    +
    +*Cause:* During an INITIALIZE TRAFODION, UPGRADE operation, a write to 
metadata table <table-name> failed. There may 
    +be additional messages giving details of the failure.
    +
    +*Effect:* The upgrade operation fails.
    +
    +*Recovery:* None. Contact the {project-name} User Distribution List. 
Include any additional messages.
    +
    +[[SQL-1424]]
    +== SQL 1424 
    +
    +```
    +Column <column-name> cannot be dropped as that would leave the table with 
no user defined columns.
    +```
    +
    +*Cause:* You attempted to drop the only remaining user-defined column in 
the table.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* If the table is no longer needed, simply drop the table.
    +
    +[[SQL-1425]]
    +== SQL 1425 
    +
    +```
    +This operation could not be performed on <table-name>. <reason>
    +```
    +
    +*Cause:* You attempted an operation on table <table-name> but the 
operation could not
    +be performed. <reason> gives more details.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* Correct any issues indicated by <reason> as appropriate and 
resubmit.
    +
    +<<<
    +[[SQL-1426]]
    +== SQL 1426
    +
    +```
    +An invalid HBase column name <column-name> was specified. A valid name 
must be of the format:   <ColumnFamily>:<ColumnName>
    +```
    +
    +*Cause:* When accessing an external HBase table (for example, using _ROW_ 
format), you specified
    +an invalid HBase column name.
    +
    +*Effect:* The operation fails.
    +
    +*Recovery:* Correct the column name and resubmit.
    +
    +[[SQL-1427]]
    +== SQL 1427 
    +
    +```
    +Table cannot be renamed. <reason>
    +```
    +
    +*Cause:* You attempted to perform ALTER TABLE RENAME but the rename could 
not be performed.
    +The <reason> explains why.
    +
    --- End diff --
    
    nie - In this Cause - "The <reason> explains why." is used.  In message 
1425 "<reason> gives more details", may want to make both the same.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to