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 D44A2179FE for ; Thu, 3 Sep 2015 18:53:46 +0000 (UTC) Received: (qmail 11305 invoked by uid 500); 3 Sep 2015 18:53:46 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 11257 invoked by uid 500); 3 Sep 2015 18:53:46 -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 11177 invoked by uid 99); 3 Sep 2015 18:53:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 18:53:46 +0000 Date: Thu, 3 Sep 2015 18:53:46 +0000 (UTC) From: "Jduarte (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10263) Insert in Cassandra in a collection, values with single quote MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jduarte created CASSANDRA-10263: ----------------------------------- Summary: Insert in Cassandra in a collection, values with sing= le quote Key: CASSANDRA-10263 URL: https://issues.apache.org/jira/browse/CASSANDRA-10263 Project: Cassandra Issue Type: Bug Reporter: Jduarte Fix For: 2.2.1 Attachments: terminal.png I think there is a problem with single quotes in collection fields. This is= what I try: Table: CREATE TABLE test (name text, foo map, PRIMARY KEY(name))= ; Insert: INSERT INTO test (name, foo) VALUES ( 'jos''emy',{'foo':'josemy''s= hou=C3=B1se'}); Query: SELECT * FROM test; name | foo ---------+----------------------------- jos'emy | {'foo': 'josemy''s hou=C3=B1se'} As you can see, Cassandra replace the double quote in the simple "name" fie= ld, but does not replace the quotes in the field inside the map. The result= (I think) should be: name | foo ---------+----------------------------- jos'emy | {'foo': 'josemy's hou=C3=B1se'} -- This message was sent by Atlassian JIRA (v6.3.4#6332)