priyankporwal commented on a change in pull request #864:
URL: https://github.com/apache/phoenix/pull/864#discussion_r489743628
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java
##########
@@ -528,8 +528,9 @@ public SQLException newException(SQLExceptionInfo info) {
"Cannot use a connection with SCN set to upsert data for a table
with indexes."),
CANNOT_PERFORM_DDL_WITH_PENDING_MUTATIONS(904, "43M15",
- "Cannot perform DDL with pending mutations. Commit or rollback
mutations before performing DDL");
+ "Cannot perform DDL with pending mutations. Commit or rollback
mutations before performing DDL"),
+ NOT_SUPPORTED_CASCADE_FEATURE_PK(905, "43M16", "CASCADE feature is not
supported to add PK column");
Review comment:
Why does this have to be special error? I assume add PK column to
phoenix table/view is not supported anyways. Also, if it has to be a new error
then replace "CASCADE" with "CASCADE INDEX".
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]