Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6A638200BF6 for ; Tue, 6 Dec 2016 07:12:58 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 69360160B27; Tue, 6 Dec 2016 06:12:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA7E4160B18 for ; Tue, 6 Dec 2016 07:12:57 +0100 (CET) Received: (qmail 40072 invoked by uid 500); 6 Dec 2016 06:12:52 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 38254 invoked by uid 99); 6 Dec 2016 06:12:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 06:12:51 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 51847F2141; Tue, 6 Dec 2016 06:12:51 +0000 (UTC) From: paul-rogers To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request #666: DRILL-4956: Temporary tables support Content-Type: text/plain Message-Id: <20161206061251.51847F2141@git1-us-west.apache.org> Date: Tue, 6 Dec 2016 06:12:51 +0000 (UTC) archived-at: Tue, 06 Dec 2016 06:12:58 -0000 Github user paul-rogers commented on a diff in the pull request: https://github.com/apache/drill/pull/666#discussion_r91012745 --- 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 -- getSessionID ? --- 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. ---