virajjasani commented on code in PR #1703:
URL: https://github.com/apache/phoenix/pull/1703#discussion_r1349376051
##########
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -1728,6 +1739,11 @@ public MutationState createCDC(CreateCDCStatement
statement) throws SQLException
SortOrder.getDefault()) }));
IndexType indexType = (IndexType)
TableProperty.INDEX_TYPE.getValue(tableProps);
ListMultimap<String, Pair<String, Object>> indexProps =
ArrayListMultimap.create();
+ if (TableProperty.SALT_BUCKETS.getValue(tableProps) != null) {
+ indexProps.put(QueryConstants.ALL_FAMILY_PROPERTIES_KEY, new
Pair<>(
+ TableProperty.SALT_BUCKETS.getPropertyName(),
+ TableProperty.SALT_BUCKETS.getValue(tableProps)));
+ }
Review Comment:
do we also do this for existing indexes? i mean do we need salt buckets for
indexes?
--
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]