ranganathg commented on code in PR #1667:
URL: https://github.com/apache/phoenix/pull/1667#discussion_r1331106656
##########
phoenix-core/src/test/java/org/apache/phoenix/util/IndexUtilTest.java:
##########
@@ -138,6 +138,10 @@ public void testIndexNullableColumnDataType() {
private void verifyIndexColumnDataTypes(boolean isNullable, String
expected) {
Map<String, String> indexColumnDataTypes = Maps.newTreeMap();
for (PDataType dataType : PDataTypeFactory.getInstance().getTypes()) {
+ if (!dataType.isEqualitySupported()) {
Review Comment:
No we don't support indexes on JSON column types, but we can support indexes
on scalar values from within JSON objects. eg:
CREATE INDEX my_index ON my_table (json_value(json_col, '$.firstName'),
json_value(json_col, '$.address.city')) INCLUDE json_value(json_col,
'$.lastName');
--
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]