From dev-return-11564-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Wed Apr 3 03:08:17 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1D961180668 for ; Wed, 3 Apr 2019 05:08:16 +0200 (CEST) Received: (qmail 85108 invoked by uid 500); 3 Apr 2019 03:08:10 -0000 Mailing-List: contact dev-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@arrow.apache.org Delivered-To: mailing list dev@arrow.apache.org Received: (qmail 85095 invoked by uid 99); 3 Apr 2019 03:08:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2019 03:08:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C2681C1F4D for ; Wed, 3 Apr 2019 03:08:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PRegzJt1ae1w for ; Wed, 3 Apr 2019 03:08:08 +0000 (UTC) Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 3959F624E7 for ; Wed, 3 Apr 2019 03:08:08 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id k17so19172649wrx.10 for ; Tue, 02 Apr 2019 20:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YftwAiFKdvsfs5sJ2EZ8DxgLYOs5fyS9+tGpUKTuIWk=; b=SFiZnCwHvwOReGU/iQaWPNGFpPU8UdW/klFQIEXQzVjo84g4EBP4ko5yjmv+8lnN0/ x+TlYRUG3u9yHzMB5zJZLBIjWSsgLzYPPoDzLk6Ow1SGjYlJlJioPvz3UFZr9fAW2vON EoGFMphO4eCcSU+nstp5iSfeJdviJIp3Hwv9szIzJQaURSuhtBNOl8WVFRQtfY8qvJ64 broa6ehAhaQASgli52cmIsIIz/7hwkxzEyesBTo2n0HRJSTKs5tgB+XhywH8Fjwx42b3 yELySK3Kb81+VmkaskurVjv2D5MgUtURTFyGgnMn66B4FTKunvNKv4jI9XSsFaof3shS +1Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YftwAiFKdvsfs5sJ2EZ8DxgLYOs5fyS9+tGpUKTuIWk=; b=IiKBRg9NrDINluy1Mor7ue7RVbXCnBx3jyaUx4e44U2lKtCHxFk5bvRRdK7FuZ3SIQ VXIWLyAbmG2bIbh4t7ybAWw+HVDxyerPo9wV2awgciUsqLpGW7DM8c4pakuPx++mpNaK RnpfDVQoPlBYNCG3zV/1p0IF3mrhL8SVNS+PFMuyN2BY5B7nIpX+g1t8Qaj9TP4wy6bZ sbv8ZmC/XGkiyziwIDQxqi+rlGFkN95Mv97XCrUHadDEDk+tIezUPf3hBRMPfSC5yBwT ri3R/ykcsMgNW/pMxXA8vX/SxLLhU+cI7Njyrij6DpuqI4Q+KPE37Pk87HSuFmZ/V1JW Ojmg== X-Gm-Message-State: APjAAAWjFGrEqohVtyyHpoBNUZ//Qxnm8vkqoHOQNyMsoMu/BKRr1Kg9 Ww230z+GwyYfmwCT6SdJuQDeKvpRxgcGKzF4GEKX3ufFNtodnA== X-Google-Smtp-Source: APXvYqxCNNBg/yPTwNNzxqkviMP4aat30crqMZ/qpZqql2t4/5jnOlbwqSi/IW+YJDBefO2echuh3BE03XORpzUhacU= X-Received: by 2002:adf:efc1:: with SMTP id i1mr21699199wrp.199.1554260886972; Tue, 02 Apr 2019 20:08:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: ming zhang Date: Tue, 2 Apr 2019 23:07:54 -0400 Message-ID: Subject: Re: How to understand this comment To: dev@arrow.apache.org Content-Type: multipart/alternative; boundary="0000000000000e6d270585979054" --0000000000000e6d270585979054 Content-Type: text/plain; charset="UTF-8" in a case where there are multiple ways to retrieve this logical data set, how to represent this in the response? for example, assume there is a data set that has part 1 in endpoint 1 and part 2 in endpoint 2 with tcp as transport both part 1 and part 2 in endpoint 3, with infiniband as transport now how we return this back to client so client decide which one to consume? the mental model i have with FightService is similar to travel with flight. - a travel agency lists many travel choices. - for a trip from NYC to SFO, there are different itinerary, like NYC->SFO directly. NYC->Chicago -> SFO, and so on. - for each itinerary, there could be one or more logical parts (hop) - for each hop, there are different ways, like business class, economic class, etc - they all need a ticket to finish the trip. is this right, or way off? Thanks Ming On Tue, Apr 2, 2019 at 9:59 PM Wes McKinney wrote: > Hi, > > A FlightGetInfo plan corresponds to a single logical dataset. The > dataset may be spread across multiple endpoints, so if you want the > whole dataset you have to execute DoGet against them all. > > I'm not sure what you mean by "provide more than one execution plan". > > - Wes > > On Tue, Apr 2, 2019 at 7:54 PM ming zhang > wrote: > > > > Hi All > > > > Wonder how to understand this comment? > > > > Looks like this assume we only have one "itinerary" and finish it need to > > consume all the flight endpoints. > > > > /* > > * A list of endpoints associated with the flight. To consume the whole > > * flight, all endpoints must be consumed. > > */ > > > > What if we do want to provide more than one execution plan (itinerary) > and > > each have multiple steps? > > > > Thanks > > Ming > --0000000000000e6d270585979054--