maedhroz commented on code in PR #3702:
URL: https://github.com/apache/cassandra/pull/3702#discussion_r1851222256
##########
src/java/org/apache/cassandra/index/sai/utils/IndexTermType.java:
##########
@@ -141,20 +141,24 @@ private IndexTermType(ColumnMetadata columnMetadata,
List<ColumnMetadata> partit
this.indexTargetType = indexTargetType;
this.capabilities = calculateCapabilities(columnMetadata,
partitionColumns, indexTargetType);
this.indexType = calculateIndexType(columnMetadata.type, capabilities,
indexTargetType);
- if (indexType.subTypes().isEmpty())
+
+ AbstractType<?> baseType = indexType.unwrap();
Review Comment:
This bit isn't part of the issue described in the Jira, but it's
just...clearly wrong, so I cleaned it up.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]