Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/405#discussion_r238808013
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java
---
@@ -459,7 +459,18 @@ public SQLException newException(SQLExceptionInfo
info) {
MAX_MUTATION_SIZE_EXCEEDED(729, "LIM01", "MutationState size is bigger
than maximum allowed number of rows"),
MAX_MUTATION_SIZE_BYTES_EXCEEDED(730, "LIM02", "MutationState size is
bigger than maximum allowed number of bytes"),
INSUFFICIENT_MEMORY(999, "50M01", "Unable to allocate enough memory."),
- HASH_JOIN_CACHE_NOT_FOUND(900, "HJ01", "Hash Join cache not found");
+ HASH_JOIN_CACHE_NOT_FOUND(900, "HJ01", "Hash Join cache not found"),
+
+ CANNOT_UPSERT_WITH_SCN_FOR_ROW_TIMSTAMP_COLUMN(901,"43M12",
+ "Cannot use a connection with SCN set to upsert data for " +
+ "table with ROW_TIMESTAMP column."),
+ CANNOT_UPSERT_WITH_SCN_FOR_TXN_TABLE(902,"43M13",
--- End diff --
remove this as its not used
---