[ 
https://issues.apache.org/jira/browse/PHOENIX-7056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773885#comment-17773885
 ] 

ASF GitHub Bot commented on PHOENIX-7056:
-----------------------------------------

shahrs87 commented on code in PR #1702:
URL: https://github.com/apache/phoenix/pull/1702#discussion_r1353969055


##########
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -2417,6 +2417,15 @@ public void createTable(RpcController controller, 
CreateTableRequest request,
                 // table/index/views.
                 
tableMetadata.add(MetaDataUtil.getLastDDLTimestampUpdate(tableKey,
                     clientTimeStamp, 
EnvironmentEdgeManager.currentTimeMillis()));
+                if (tableType == INDEX) {

Review Comment:
   Yeah, I realized that and withdrew the review ask. :P





> Update the LAST_DDL_TIMESTAMP of the parent table/view when we add/drop an 
> index.
> ---------------------------------------------------------------------------------
>
>                 Key: PHOENIX-7056
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7056
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Rushabh Shah
>            Assignee: Rushabh Shah
>            Priority: Major
>
> Update the LAST_DDL_TIMESTAMP of the parent table/view when we add/drop an 
> index.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to