swaroopak commented on a change in pull request #640: PHOENIX-5578 - CREATE
TABLE IF NOT EXISTS loads IndexRegionObserver o…
URL: https://github.com/apache/phoenix/pull/640#discussion_r349718967
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
##########
@@ -2119,7 +2144,7 @@ private void setTransactional(HTableDescriptor
tableDescriptor, PTableType table
} else {
tableDescriptor.setValue(PhoenixTransactionContext.READ_NON_TX_DATA, txValue);
}
- this.addCoprocessors(tableDescriptor.getName(), tableDescriptor,
tableType, tableProps);
+ this.addCoprocessors(tableDescriptor.getName(), tableDescriptor,
tableType, tableProps, tableDescriptor);
Review comment:
curious to know, if table is created for the first time, would
tableDescriptor be empty or null?
----------------------------------------------------------------
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