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 2021/11/09 06:13:17 UTC

[GitHub] [phoenix] stoty commented on a change in pull request #1343: PHOENIX-6586 Set NORMALIZATION_ENABLED to false on salted tables

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: issues-unsubscribe@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org