From issues-return-5535-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Mar 28 21:50:05 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 9FBA318077A for ; Thu, 28 Mar 2019 22:50:04 +0100 (CET) Received: (qmail 6374 invoked by uid 500); 28 Mar 2019 21:50:03 -0000 Mailing-List: contact issues-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 issues@phoenix.apache.org Received: (qmail 6365 invoked by uid 99); 28 Mar 2019 21:50: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; Thu, 28 Mar 2019 21:50:03 +0000 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 5C858E041B for ; Thu, 28 Mar 2019 21:50:00 +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 0E70424422 for ; Thu, 28 Mar 2019 21:50:00 +0000 (UTC) Date: Thu, 28 Mar 2019 21:50:00 +0000 (UTC) From: "Thomas D'Silva (JIRA)" To: issues@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-5207) Create index if not exists fails incorrectly if table has 'maxIndexesPerTable' indexes already 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-5207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804335#comment-16804335 ] Thomas D'Silva commented on PHOENIX-5207: ----------------------------------------- +1 LGTM, thanks for the patch I will get this committed. > Create index if not exists fails incorrectly if table has 'maxIndexesPerTable' indexes already > ----------------------------------------------------------------------------------------------- > > Key: PHOENIX-5207 > URL: https://issues.apache.org/jira/browse/PHOENIX-5207 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.14.1 > Reporter: Abhishek Singh Chouhan > Assignee: Abhishek Singh Chouhan > Priority: Major > Fix For: 4.14.2 > > Attachments: PHOENIX-5207-4.14-HBase-1.4.patch, PHOENIX-5207-master.patch > > > If a table has 'maxIndexesPerTable' indexes and we try to create another one and if it already exists we should not throw 'ERROR 1047 (43A04): Too many indexes have already been created' since weve put 'if not exists' already in the statement. -- This message was sent by Atlassian JIRA (v7.6.3#76005)