[
https://issues.apache.org/jira/browse/PHOENIX-7041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818027#comment-17818027
]
ASF GitHub Bot commented on PHOENIX-7041:
-----------------------------------------
lokiore commented on code in PR #1821:
URL: https://github.com/apache/phoenix/pull/1821#discussion_r1492706821
##########
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -3243,10 +3243,10 @@ public boolean isViewReferenced() {
tableUpsert.setInt(34, ttl);
}
- if (rowKeyPrefix == null) {
+ if (rowKeyMatcher == null) {
Review Comment:
@jpisaac a question do we want to store null in SYSCAT in case of
Empty_Byte_array as well!?
We are not doing any scans based on it bring null!?
> Populate ROW_KEY_PREFIX column when creating views
> --------------------------------------------------
>
> Key: PHOENIX-7041
> URL: https://issues.apache.org/jira/browse/PHOENIX-7041
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Jacob Isaac
> Assignee: Jacob Isaac
> Priority: Major
> Fix For: 5.2.1
>
>
> When a view statement is defined by the constraints articulated in
> PHOENIX-4555, all rows created by the view will be prefixed by a KeyRange.
> The view thus can simply be represented by the prefixed KeyRange generated by
> the expression representing the view statement.
> The ROW_KEY_PREFIX column will store this KeyRange. The prefixed KeyRange
> will be used to create a PrefixIndex -> mapping a row prefix to a view.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)