From commits-return-150038-apmail-cassandra-commits-archive=cassandra.apache.org@cassandra.apache.org Wed Oct 28 09:50:27 2015 Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94A1F189CD for ; Wed, 28 Oct 2015 09:50:27 +0000 (UTC) Received: (qmail 66630 invoked by uid 500); 28 Oct 2015 09:49:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 66277 invoked by uid 500); 28 Oct 2015 09:49:28 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 66235 invoked by uid 99); 28 Oct 2015 09:49:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 09:49:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B90C72C1F56 for ; Wed, 28 Oct 2015 09:49:27 +0000 (UTC) Date: Wed, 28 Oct 2015 09:49:27 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10598) Unable to use same index name on column families which have different names in different keyspaces 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/CASSANDRA-10598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978086#comment-14978086 ] ASF GitHub Bot commented on CASSANDRA-10598: -------------------------------------------- GitHub user allenyeh79 opened a pull request: https://github.com/apache/cassandra/pull/56 CASSANDRA-10598:Let same index name can be used in different keyspaces Let same index name can be used in different keyspaces. JIRA link: https://issues.apache.org/jira/browse/CASSANDRA-10598 You can merge this pull request into a Git repository by running: $ git pull https://github.com/bitus-dt/cassandra cassandra-1.2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/56.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #56 ---- commit 85487ad55c253ac43d4980cf30b9cfeac256af0f Author: allen.yeh Date: 2015-10-28T09:36:22Z CASSANDRA-10598:The same index name can be used in different keyspaces without conflict ---- > Unable to use same index name on column families which have different names in different keyspaces > -------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-10598 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10598 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Yeh Sheng Hsiung > > Expected: > The same index name can be used in different keyspaces without conflict > Actual: > Unable to use same index name on column families which have different names in different keyspaces > Steps to Reproduce: > {code} > cqlsh> CREATE KEYSPACE ks1 WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1' : 1}; > cqlsh> CREATE KEYSPACE ks2 WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1' : 1}; > cqlsh> use ks1; > cqlsh:ks1> CREATE TABLE t1 (c1 int PRIMARY KEY, c2 int); > cqlsh:ks1> create index c2_idx on t1 (c2); > cqlsh:ks1> use ks2; > cqlsh:ks2> CREATE TABLE t2 (c1 int PRIMARY KEY, c2 int); > cqlsh:ks2> create index c2_idx on t2 (c2); > ConfigurationException: > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)