Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B10D18074 for ; Mon, 1 Jun 2015 22:53:19 +0000 (UTC) Received: (qmail 36251 invoked by uid 500); 1 Jun 2015 22:53:19 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 36189 invoked by uid 500); 1 Jun 2015 22:53:19 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 36178 invoked by uid 99); 1 Jun 2015 22:53:19 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 22:53:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EF630CA85B for ; Mon, 1 Jun 2015 22:53:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id y8c3Oe1J0cpR for ; Mon, 1 Jun 2015 22:53:18 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id F225843CB6 for ; Mon, 1 Jun 2015 22:53:17 +0000 (UTC) Received: (qmail 35810 invoked by uid 99); 1 Jun 2015 22:53:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jun 2015 22:53:17 +0000 Date: Mon, 1 Jun 2015 22:53:17 +0000 (UTC) From: "James Taylor (JIRA)" To: dev@phoenix.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-1984) Return value of INSTR should be one-based instead of zero-based MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Taylor updated PHOENIX-1984: ---------------------------------- Fix Version/s: 4.4.1 4.5.0 5.0.0 > Return value of INSTR should be one-based instead of zero-based > --------------------------------------------------------------- > > Key: PHOENIX-1984 > URL: https://issues.apache.org/jira/browse/PHOENIX-1984 > Project: Phoenix > Issue Type: Sub-task > Reporter: James Taylor > Assignee: Naveen Madhire > Fix For: 5.0.0, 4.5.0, 4.4.1 > > > String functions in SQL are one-based, not zero-based. One should be added to the return value of the INSTR function as it's returning a zero-based return value current. > We'll hold off on documenting this built-in until this is corrected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)