From user-return-32362-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Mar 4 16:05:39 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C17699261 for ; Mon, 4 Mar 2013 16:05:39 +0000 (UTC) Received: (qmail 71102 invoked by uid 500); 4 Mar 2013 16:05:37 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71021 invoked by uid 500); 4 Mar 2013 16:05:37 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 71012 invoked by uid 99); 4 Mar 2013 16:05:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 16:05:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adriano@pert.com.ar designates 200.68.65.170 as permitted sender) Received: from [200.68.65.170] (HELO alerce1-mr.pert.com.ar) (200.68.65.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2013 16:05:30 +0000 Received: from METEORO.pert.com.ar (192.168.1.36) by alerce1-mr.pert.com.ar id h6j3c219p8g0 for ; Mon, 4 Mar 2013 13:07:07 -0300 (envelope-from ) Received: from METEORO.pert.com.ar ([fe80::11d6:548d:5e8:7182]) by METEORO.pert.com.ar ([fe80::11d6:548d:5e8:7182%10]) with mapi id 14.02.0247.003; Mon, 4 Mar 2013 13:05:08 -0300 From: Adriano Paggi To: "user@cassandra.apache.org" Subject: RE: CqlPreparedResult type info Thread-Topic: CqlPreparedResult type info Thread-Index: Ac4Y5vWM6mc035IZS5iCFEJz8xnkMwAA7ICAAAasrQAABP5eIA== Date: Mon, 4 Mar 2013 16:05:07 +0000 Message-ID: <99B1330FDC371449BA02CAD8061EF1C463F4BE42@METEORO.pert.com.ar> References: <99B1330FDC371449BA02CAD8061EF1C463F4BDAD@METEORO.pert.com.ar> In-Reply-To: Accept-Language: es-AR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.1.227] Content-Type: multipart/alternative; boundary="_000_99B1330FDC371449BA02CAD8061EF1C463F4BE42METEOROpertcoma_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_99B1330FDC371449BA02CAD8061EF1C463F4BE42METEOROpertcoma_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Commented on CASSANDRA-3753, maybe re-opening is better than create a new o= ne. I don't know the correct procedure... ________________________________ From: Sylvain Lebresne [mailto:sylvain@datastax.com] Sent: Lunes, 04 de Marzo de 2013 12:23 p.m. To: user@cassandra.apache.org Subject: Re: CqlPreparedResult type info On Mon, Mar 4, 2013 at 4:13 PM, Adriano Paggi > wrote: Hi, I'm using prepare_cql3_query thrift method, which returns CqlPreparedRe= sult with type info in variable_types. The type names returned are partial for collection types. Returns just Map= Type without saying anything about the key-value types. A more intuitive r= esponse could be something like org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF= 8Type,org.apache.cassandra.db.marshal.UTF8Type) just like int CqlResult -> schema -> value_types (returned by execute_cql3_= query) Is this an issue? Yes. Mind opening a ticket on https://issues.apache.org/jira/browse/CASSANDRA? -- Sylvain Thanks! Adriano. --_000_99B1330FDC371449BA02CAD8061EF1C463F4BE42METEOROpertcoma_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Commented on CASSANDRA-3753, maybe re-= opening is better than create a new one.  I don’t know the corre= ct procedure…

 


From: Sylv= ain Lebresne [mailto:sylvain@datastax.com]
Sent: Lunes, 04 de Marzo de = 2013 12:23 p.m.
To: user@cassandra.apache.org
Subject: Re: CqlPreparedResu= lt type info

 

On Mon, Mar 4, 2013 at 4:13 PM, Adriano Paggi <adriano@pert.com.ar> wrote:<= o:p>

Hi, I’m using prepare_cql3_query thrift method, whic= h returns CqlPreparedResult with type info in variable_types.

The type names returned are partial for collection types. =  Returns just MapType without saying anything about the key-value types.  A more intuitive response could be someth= ing like

 

org.apache.cassandra.db.marshal.MapType(org.apache.cassand= ra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)

 

 

just like int CqlResult -> schema -> value_types (re= turned by execute_cql3_query)

 

Is this an issue?

 

Yes.

 

--

Sylvain

 

 

Thanks!

Adriano.

 

 

 

--_000_99B1330FDC371449BA02CAD8061EF1C463F4BE42METEOROpertcoma_--