palashc commented on code in PR #2208:
URL: https://github.com/apache/phoenix/pull/2208#discussion_r2181283277


##########
phoenix-core-client/src/main/java/org/apache/phoenix/schema/MetaDataClient.java:
##########
@@ -4047,6 +4032,35 @@ public MutationState dropCDC(DropCDCStatement statement) 
throws SQLException {
         }
     }
 
+    private void deleteAllStreamMetadataForTable(String tableName) throws 
SQLException {
+        String deleteStreamStatusQuery = "DELETE FROM " + 
SYSTEM_CDC_STREAM_STATUS_NAME + " WHERE TABLE_NAME = ?";
+        String deleteStreamPartitionsQuery = "DELETE FROM " + 
SYSTEM_CDC_STREAM_STATUS_NAME + " WHERE TABLE_NAME = ?";

Review Comment:
   @virajjasani fixed, also modified the test to check for this 



-- 
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: issues-unsubscr...@phoenix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to