GitHub user ChinmaySKulkarni opened a pull request:

    https://github.com/apache/phoenix/pull/346

    PHOENIX-3955: Ensure KEEP_DELETED_CELLS, REPLICATION_SCOPE, and TTL 
properties stay in sync between the physical data table and index tables

    Changes in this commit:
    - Disallow specifying any of these properties per-CF when creating any table
    - Disallow specifying any of these properties when creating an index
    - When creating an index, make sure the above properties are got from the 
base table
    - Disallow specifying CF with these properties when altering a base table
    - If any of these properties is altered on a base table, alter this 
property for all column indexes for that table, as well as all indexes and the 
view index table for that base table
    - If adding a new CF, ensure that it gets these property values (like we 
used to do for TTL)
    - Disallow altering any of these properties for an index
    - Add upgrade utility to sync these properties for each base table and its 
indexes and view index table


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ChinmaySKulkarni/phoenix PHOENIX-3955

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/346.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 #346
    
----
commit 3f5bbca6c83ad65d7d57a72a67648147f7cce9e1
Author: Chinmay Kulkarni <chinmayskulkarni@...>
Date:   2018-09-11T21:30:01Z

    PHOENIX-3955: Ensure KEEP_DELETED_CELLS, REPLICATION_SCOPE, and TTL 
properties stay in sync between the physical data table and index tables

----


---

Reply via email to