[
https://issues.apache.org/jira/browse/PHOENIX-7074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17783148#comment-17783148
]
ASF GitHub Bot commented on PHOENIX-7074:
-----------------------------------------
TheNamesRai commented on code in PR #1713:
URL: https://github.com/apache/phoenix/pull/1713#discussion_r1382984717
##########
phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
##########
@@ -1578,6 +1580,12 @@ public ExplainPlan getExplainPlan() throws SQLException {
@Override
public MutationState execute() throws SQLException {
+ if (CDCUtil.isACDCIndex(
+
ExecutableDropIndexStatement.this.getIndexName().getName())) {
+ throw new
SQLExceptionInfo.Builder(CANNOT_DROP_CDC_INDEX).setTableName(
+
ExecutableDropIndexStatement.this.getIndexName().getName())
Review Comment:
@haridsv , updated
> Drop CDC implementation
> -----------------------
>
> Key: PHOENIX-7074
> URL: https://issues.apache.org/jira/browse/PHOENIX-7074
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: Viraj Jasani
> Assignee: Saurabh Rai
> Priority: Major
>
> The implementation of the drop CDC on the CDC object should clean up CDC
> object entry and also uncovered index created on the data table.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)