Github user ankitsinghal commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/284#discussion_r154282569
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java ---
    @@ -4125,7 +4125,7 @@ public MutationState 
createSchema(CreateSchemaStatement create) throws SQLExcept
     
         private void validateSchema(String schemaName) throws SQLException {
             if (SchemaUtil.NOT_ALLOWED_SCHEMA_LIST.contains(
    -                schemaName.toUpperCase())) { throw new 
SQLExceptionInfo.Builder(SQLExceptionCode.SCHEMA_NOT_ALLOWED)
    --- End diff --
    
    @karanmehta93 , I tried case-sensitive schemas with master code, I don't 
see any problem. can you check if normalization is happening at some other(or 
not at the right) place?
    ```
    0: jdbc:phoenix:localhost> create schema "ABC";
    No rows affected (0.224 seconds)
    ```
    ```
    0: jdbc:phoenix:localhost> select TABLE_SCHEM from system.catalog;
    +--------------+
    | TABLE_SCHEM  |
    +--------------+
    | ABC          |
    ```
    ```
    hbase(main):002:0> list_namespace
    NAMESPACE
    ABC
    ```
    ```
    0: jdbc:phoenix:localhost> create schema "small_case"
    . . . . . . . . . . . . .> ;
    No rows affected (0.424 seconds)
    0: jdbc:phoenix:localhost> select TABLE_SCHEM from system.catalog;
    +--------------+
    | TABLE_SCHEM  |
    +--------------+
    | small_case   |
    
    hbase(main):003:0> list_namespace
    NAMESPACE
    small_case
    ```



---

Reply via email to