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 2C96F200C39 for ; Thu, 2 Mar 2017 04:08:54 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2B537160B7F; Thu, 2 Mar 2017 03:08:54 +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 7224C160B70 for ; Thu, 2 Mar 2017 04:08:53 +0100 (CET) Received: (qmail 12719 invoked by uid 500); 2 Mar 2017 03:08:52 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 12710 invoked by uid 99); 2 Mar 2017 03:08:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2017 03:08:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 774F1186142 for ; Thu, 2 Mar 2017 03:08:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id koQMQr6O-2Eg for ; Thu, 2 Mar 2017 03:08:50 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 524FD5F254 for ; Thu, 2 Mar 2017 03:08:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 979F8E019B for ; Thu, 2 Mar 2017 03:08:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4CA2F24156 for ; Thu, 2 Mar 2017 03:08:45 +0000 (UTC) Date: Thu, 2 Mar 2017 03:08:45 +0000 (UTC) From: "Sergey Shelukhin (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-16085) get path-to-alias, path-to-work etc recursively in Hive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Mar 2017 03:08:54 -0000 [ https://issues.apache.org/jira/browse/HIVE-16085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Shelukhin updated HIVE-16085: ------------------------------------ Description: Sometimes, we don't get correct alias/part desc/etc. from a split path because the path has subdirectories - e.g. in HIVE-15870 (for MM tables). We have utility methods to work around that by getting the partdesc recursively from the parents of a path, but they are not applied consistently; I suspect people add calls to these methods after they discover some particular codepath is broken. Perhaps we should find such places proactively for path-to-part, path-to-work, and path-to-alias maps. This can happen much more with MM tables, but can also happen for any recursive-path cases (incl. just a regular recursive path read enabled via an MR config). was: Sometimes, we don't get correct alias/part desc/etc. from a split path because the path has subdirectories - e.g. in HIVE-15870 (for MM tables). We have utility methods to work around that by getting the partdesc recursively from the parents of a path, but they are not applied consistently; I suspect people add calls to these methods after they discover some particular path is broken. Perhaps we should find such places proactively for path-to-part, path-to-work, and path-to-alias maps. This can happen much more with MM tables, but can also happen for any recursive-path cases (incl. just a regular recursive path read enabled via an MR config). > get path-to-alias, path-to-work etc recursively in Hive > ------------------------------------------------------- > > Key: HIVE-16085 > URL: https://issues.apache.org/jira/browse/HIVE-16085 > Project: Hive > Issue Type: Task > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-16085.WIP.patch > > > Sometimes, we don't get correct alias/part desc/etc. from a split path because the path has subdirectories - e.g. in HIVE-15870 (for MM tables). > We have utility methods to work around that by getting the partdesc recursively from the parents of a path, but they are not applied consistently; I suspect people add calls to these methods after they discover some particular codepath is broken. Perhaps we should find such places proactively for path-to-part, path-to-work, and path-to-alias maps. > This can happen much more with MM tables, but can also happen for any recursive-path cases (incl. just a regular recursive path read enabled via an MR config). -- This message was sent by Atlassian JIRA (v6.3.15#6346)