tkhurana commented on code in PR #2048:
URL: https://github.com/apache/phoenix/pull/2048#discussion_r2054845335


##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -1671,15 +1677,16 @@ private PTable getTableFromCells(List<Cell> 
tableCellList, List<List<Cell>> allC
                         isSalted, baseColumnCount, isRegularView, 
columnTimestamp);
             }
         }
-        if (tableType == INDEX && ! isThisAViewIndex) {
+        boolean isMetaIndex = 
(QueryConstants.SYSTEM_SCHEMA_NAME.equals(schemaName.getString()) && (tableType 
== INDEX));
+        if (tableType == INDEX && ! isThisAViewIndex && !isMetaIndex) {

Review Comment:
   Can you add a comment here why we are ignoring these checks for meta 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]

Reply via email to