swaroopak commented on a change in pull request #508: PHOENIX-5283: Add CASCADE
INDEX ALL in the SQL Grammar of ALTER TABLE…
URL: https://github.com/apache/phoenix/pull/508#discussion_r285698016
##########
File path:
phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java
##########
@@ -480,8 +480,11 @@ public SQLException newException(SQLExceptionInfo info) {
"table with ROW_TIMESTAMP column."),
CANNOT_UPSERT_WITH_SCN_FOR_MUTABLE_TABLE_WITH_INDEXES(903,"43M14",
"Cannot use a connection with SCN set to " +
- "upsert data for a mutable table with indexes.");
+ "upsert data for a mutable table with indexes."),
+ UNIMPLEMENTED_CASCADE_FEATURE(904,"43M15","This feature is WIP. Please
refer to PHOENIX-5261"),
+
+ NOT_SUPPORTED_CASCADE_FEATURE(905,"43M16","CASCADE INDEX is not supported
to alter view");
Review comment:
My only understanding is -- it is used as code for the exception, similar to
standard SQL exception codes. I made sure it gets a unique code. I ll confirm
this once.
----------------------------------------------------------------
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]
With regards,
Apache Git Services