From issues-return-190468-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed May 20 15:41:04 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BFB7D180661 for ; Wed, 20 May 2020 17:41:03 +0200 (CEST) Received: (qmail 97850 invoked by uid 500); 20 May 2020 15:41:03 -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 97841 invoked by uid 99); 20 May 2020 15:41:03 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2020 15:41:03 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4F1E4E30A8 for ; Wed, 20 May 2020 15:41:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 537F5782546 for ; Wed, 20 May 2020 15:41:00 +0000 (UTC) Date: Wed, 20 May 2020 15:41:00 +0000 (UTC) From: "Jesus Camacho Rodriguez (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-22458) Add more constraints on showing partitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22458?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1711= 2364#comment-17112364 ]=20 Jesus Camacho Rodriguez commented on HIVE-22458: ------------------------------------------------ +1 > Add more constraints on showing partitions > ------------------------------------------ > > Key: HIVE-22458 > URL: https://issues.apache.org/jira/browse/HIVE-22458 > Project: Hive > Issue Type: Improvement > Reporter: Zhihua Deng > Priority: Major > Labels: pull-request-available > Fix For: 4.0.0 > > Attachments: HIVE-22458.2.patch, HIVE-22458.3.patch, HIVE-22458.4= .patch, HIVE-22458.5.patch, HIVE-22458.6.patch, HIVE-22458.branch-1.02.patc= h, HIVE-22458.branch-1.patch, HIVE-22458.patch > > Time Spent: 1h 10m > Remaining Estimate: 0h > > When we showing partitions of a table with=C2=A0thousands of partitions,= =C2=A0 all the partitions will be returned and it's not easy to catch the s= pecified one from them, this make showing partitions hard to use. We can ad= d where/limit/order by constraints to show partitions like: > =C2=A0show partitions table_name [partition_specs] where partition_key >= =3D value order by partition_key desc limit n; > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)