trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] trafodion pull request #1575: [TRAFODION-3082] Add *populate-option* for *CR...
Date Wed, 23 May 2018 18:02:58 GMT
Github user DaveBirdsall commented on a diff in the pull request:

    https://github.com/apache/trafodion/pull/1575#discussion_r190345322
  
    --- Diff: docs/sql_reference/src/asciidoc/_chapters/sql_statements.adoc ---
    @@ -1755,6 +1760,23 @@ for the first column, the values in the second column are used
to order the rows
     rows occur in a non-unique index, their order is based on the sequence specified for
the columns of the key of the
     underlying table. For ordering (but not for other purposes), nulls are greater than other
values.
     
    +* `populate-option`
    +
    +** `NO POPULATE`
    ++
    +specifies that the index is not to be populated when it is created. 
    ++
    +The index’s partition(s) are created, but no data is written to the index, and it is
marked “offline”. You can drop an offline index with the DROP INDEX statement. 
    +The DROP TABLE statement also drops offline indexes of the specified table. 
    +DML statements have no effect on offline indexes. 
    ++
    +If an index is created with the intention of using it for a constraint, it must be populated
before creating the constraint. 
    +You can populate an offline index and remove its offline designation by using the POPULATE
INDEX utility.
    +
    +** `POPULATE`
    ++
    +specifies that the index is to be created and populated. 
    --- End diff --
    
    You may want to mention that this is the default option.


---

Mime
View raw message