You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2019/05/01 17:05:55 UTC

[GitHub] [phoenix] priyankporwal commented on a change in pull request #495: PHOENIX-4703 Make indextool changes to drop before rebuild

priyankporwal commented on a change in pull request #495: PHOENIX-4703 Make indextool changes to drop before rebuild
URL: https://github.com/apache/phoenix/pull/495#discussion_r280138543
 
 

 ##########
 File path: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
 ##########
 @@ -174,6 +178,11 @@
         "If specified, uses Snapshots for async index building (optional)");
     private static final Option TENANT_ID_OPTION = new Option("tenant", "tenant-id", true,
         "If specified, uses Tenant connection for tenant view index building (optional)");
+
+    private static final Option DELETE_ALL_AND_REBUILD_OPTION = new Option("deleteall", "delete-all-and-rebuild", false,
+            "Applicable only on table indexes, not applicable to view indexes. "
+            + "If specified, truncates the index table and rebuilds (optional)");
 
 Review comment:
   Nit: 'and optionally rebuilds'

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services