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 DC593200B50 for ; Fri, 29 Jul 2016 14:58:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB0B9160AA6; Fri, 29 Jul 2016 12:58:21 +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 549C3160A61 for ; Fri, 29 Jul 2016 14:58:21 +0200 (CEST) Received: (qmail 7830 invoked by uid 500); 29 Jul 2016 12:58:20 -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 7801 invoked by uid 99); 29 Jul 2016 12:58:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2016 12:58:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 73B5C2C0059 for ; Fri, 29 Jul 2016 12:58:20 +0000 (UTC) Date: Fri, 29 Jul 2016 12:58:20 +0000 (UTC) From: "Dmitry Tolpeko (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14382) Improve the Functionality of Reverse FOR Statement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 29 Jul 2016 12:58:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399292#comment-15399292 ] Dmitry Tolpeko commented on HIVE-14382: --------------------------------------- Akash, right now this functionality is part of Hive HPL/SQL component, see docs: http://hplsql.org/for-range > Improve the Functionality of Reverse FOR Statement > --------------------------------------------------- > > Key: HIVE-14382 > URL: https://issues.apache.org/jira/browse/HIVE-14382 > Project: Hive > Issue Type: Improvement > Reporter: Akash Sethi > Assignee: Akash Sethi > Priority: Minor > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > According to SQL Standards, Reverse FOR Statement should be like this:- > FOR index IN Optional[Reverse] Lower_Bound Upper_Bound > but in hive it is like this :- > FOR index IN Optional[Reverse] Upper_Bound Lower_Bound > so i m just trying to improve the functionality for Reverse FOR Statement > REFERNCES :- https://docs.oracle.com/cloud/latest/db112/LNPLS/for_loop_statement.htm#LNPLS1536 -- This message was sent by Atlassian JIRA (v6.3.4#6332)