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 EC865200AC8 for ; Tue, 24 May 2016 00:20:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EB041160A24; Mon, 23 May 2016 22:20:15 +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 3E360160A0E for ; Tue, 24 May 2016 00:20:15 +0200 (CEST) Received: (qmail 74442 invoked by uid 500); 23 May 2016 22:20:14 -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 74431 invoked by uid 99); 23 May 2016 22:20:14 -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; Mon, 23 May 2016 22:20:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E6509DFBD6; Mon, 23 May 2016 22:20:13 +0000 (UTC) From: jinfengni To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request: DRILL-4514 : Add describe schema ... Content-Type: text/plain Message-Id: <20160523222013.E6509DFBD6@git1-us-west.apache.org> Date: Mon, 23 May 2016 22:20:13 +0000 (UTC) archived-at: Mon, 23 May 2016 22:20:16 -0000 Github user jinfengni commented on a diff in the pull request: https://github.com/apache/drill/pull/436#discussion_r64299337 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/WorkspaceConfig.java --- @@ -25,23 +25,27 @@ * - location which is a path. * - writable flag to indicate whether the location supports creating new tables. * - default storage format for new tables created in this workspace. + * - physicalLocation is full path to workspace */ @JsonIgnoreProperties(value = {"storageformat"}) public class WorkspaceConfig { /** Default workspace is a root directory which supports read, but not write. */ - public static final WorkspaceConfig DEFAULT = new WorkspaceConfig("/", false, null); + public static final WorkspaceConfig DEFAULT = new WorkspaceConfig("/", false, null, null); private final String location; private final boolean writable; private final String defaultInputFormat; + private final String physicalLocation; public WorkspaceConfig(@JsonProperty("location") String location, @JsonProperty("writable") boolean writable, - @JsonProperty("defaultInputFormat") String defaultInputFormat) { + @JsonProperty("defaultInputFormat") String defaultInputFormat, + @JsonProperty("physicalLocation") String physicalLocation) { this.location = location; this.writable = writable; this.defaultInputFormat = defaultInputFormat; + this.physicalLocation = physicalLocation; --- End diff -- WorkspaceConfig already has "location". Why do you prefer adding a new "physicalLocation"? Is it possible to use "location" in stead? --- 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. ---