phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samarthjain <...@git.apache.org>
Subject [GitHub] phoenix pull request: PHOENIX-1311 HBase namespaces surfaced in ph...
Date Wed, 13 Apr 2016 19:11:34 GMT
Github user samarthjain commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/153#discussion_r59607658
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/exception/SQLExceptionCode.java
---
    @@ -77,6 +79,7 @@ public SQLException newException(SQLExceptionInfo info) {
         MISSING_MAX_LENGTH(207, "22004", "Max length must be specified for type."),
         NONPOSITIVE_MAX_LENGTH(208, "22006", "Max length must have a positive length for
type."),
         DECIMAL_PRECISION_OUT_OF_RANGE(209, "22003", "Decimal precision outside of range.
Should be within 1 and " + PDataType.MAX_PRECISION + "."),
    +    ILLEGAL_OPERATION(210, "22010", "Illegal Operation."),
    --- End diff --
    
    Change this to something like this:
    CREATE_SCHEMA_NOT_ALLOWED(210, "22010", "Cannot create schema because config " + QueryServicesOptions.
IS_NAMESPACE_MAPPING_ENABLED "  + " for enabling name space mapping isn't enabled.")


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message