Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/130#discussion_r45425593
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java
---
@@ -258,7 +264,18 @@ public SQLException newException(SQLExceptionInfo
info) {
NO_LOCAL_INDEXES(1054, "43A11", "Local secondary indexes are not
supported for HBase versions " +
MetaDataUtil.decodeHBaseVersionAsString(PhoenixDatabaseMetaData.MIN_LOCAL_SI_VERSION_DISALLOW)
+ " through " +
MetaDataUtil.decodeHBaseVersionAsString(PhoenixDatabaseMetaData.MAX_LOCAL_SI_VERSION_DISALLOW)
+ " inclusive."),
UNALLOWED_LOCAL_INDEXES(1055, "43A12", "Local secondary indexes are
configured to not be allowed."),
+
DESC_VARBINARY_NOT_SUPPORTED(1056, "43A13", "Descending VARBINARY
columns not supported"),
+
+ DEFAULT_COLUMN_FAMILY_ON_SHARED_TABLE(1057, "43A13", "Default column
family not allowed on VIEW or shared INDEX"),
+ ONLY_TABLE_MAY_BE_DECLARED_TRANSACTIONAL(1070, "44A01", "Only tables
may be declared as transactional"),
+ TX_MAY_NOT_SWITCH_TO_NON_TX(1071, "44A02", "A transactional table may
not be switched to non transactional"),
+ STORE_NULLS_MUST_BE_TRUE_FOR_TRANSACTIONAL(1072, "44A03", "Store nulls
must be true when a table is transactional"),
+ CANNOT_START_TRANSACTION_WITH_SCN_SET(1073, "44A04", "Cannot start a
transaction on a connection with SCN set"),
+ TX_MAX_VERSIONS_MUST_BE_GREATER_THAN_ONE(1074, "44A05", "A
transactional table must define VERSION of greater than one"),
+ CANNOT_SPECIFY_SCN_FOR_TXN_TABLE(1075, "44A06", "Cannot use a
connection with SCN set for a transactional table"),
+ NULL_TRANSACTION_CONTEXT(1076, "42901", "No Tranasction Context
available"),
--- End diff --
Will change the sqlState for this and the following exception.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---