kadirozde commented on a change in pull request #672: PHOENIX-5658 IndexTool to
verify index rows inline
URL: https://github.com/apache/phoenix/pull/672#discussion_r365429538
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java
##########
@@ -573,6 +610,21 @@ public Job getJob() {
return job;
}
+ private void createIndexToolOutputTable(Connection connection) throws
Exception {
+ ConnectionQueryServices queryServices =
connection.unwrap(PhoenixConnection.class).getQueryServices();
+ Admin admin = queryServices.getAdmin();
+ if (admin.tableExists(TableName.valueOf(OUTPUT_TABLE_NAME))) {
+ return;
+ }
+ HTableDescriptor tableDescriptor = new
+ HTableDescriptor(TableName.valueOf(OUTPUT_TABLE_NAME));
+ tableDescriptor.setValue("DISABLE_TABLE_SOR", "true");
Review comment:
I will remove it in the open source versions.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services