Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/666#discussion_r91708725
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserSession.java ---
    @@ -207,25 +239,165 @@ public SchemaPlus getDefaultSchema(SchemaPlus 
rootSchema) {
           return null;
         }
     
    -    final SchemaPlus defaultSchema = SchemaUtilites.findSchema(rootSchema, 
defaultSchemaPath);
    -
    -    if (defaultSchema == null) {
    -      // If the current schema resolves to null, return root schema as the 
current default schema.
    -      return defaultSchema;
    -    }
    -
    -    return defaultSchema;
    +    return SchemaUtilites.findSchema(rootSchema, defaultSchemaPath);
       }
     
       public boolean setSessionOption(String name, String value) {
         return true;
       }
     
    +  /**
    +   * @return unique session identifier
    +   */
    +  public String getUuid() { return uuid; }
    --- End diff --
    
    Done.


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

Reply via email to