stoty commented on a change in pull request #1343:
URL: https://github.com/apache/phoenix/pull/1343#discussion_r745314369
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
##########
@@ -1438,6 +1438,11 @@ private TableDescriptor ensureTableCreated(byte[]
physicalTableName, byte[] pare
PBoolean.INSTANCE.toObject(newDesc.build().getValue(MetaDataUtil.IS_LOCAL_INDEX_TABLE_PROP_BYTES))))
{
newDesc.setRegionSplitPolicyClassName(IndexRegionSplitPolicy.class.getName());
}
+ if (props.get(PhoenixDatabaseMetaData.SALT_BUCKETS) != null
+ && (Integer)
(props.get(PhoenixDatabaseMetaData.SALT_BUCKETS)) > 0) {
+ //Silently overwrites property if it was specified
explicitly
Review comment:
I have added an exception.
Please take a look again @gjacoby126.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]