[
https://issues.apache.org/jira/browse/PHOENIX-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798255#comment-17798255
]
ASF GitHub Bot commented on PHOENIX-7155:
-----------------------------------------
kadirozde commented on code in PR #1767:
URL: https://github.com/apache/phoenix/pull/1767#discussion_r1430334103
##########
phoenix-core/src/main/java/org/apache/phoenix/compile/CreateIndexCompiler.java:
##########
@@ -110,6 +111,8 @@ private String getValue(PDataType type) {
return "ARRAY[" + getValue(PDate.INSTANCE) + "]";
} else if (type instanceof PArrayDataType) {
return "ARRAY" + type.getSampleValue().toString();
+ } else if (type instanceof PJson) {
+ return null;
Review Comment:
Can we return a simple JSON doc instead of null here?
> Validate Partial Index support with JSON
> ----------------------------------------
>
> Key: PHOENIX-7155
> URL: https://issues.apache.org/jira/browse/PHOENIX-7155
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Ranganath Govardhanagiri
> Assignee: Ranganath Govardhanagiri
> Priority: Major
>
> Phoenix has recently added support for Partial Indexes - PHOENIX-7032. This
> task is to validate if Indexes built on top of JSON documents support Partial
> Indexes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)