From user-return-32352-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon Mar 4 15:13:56 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 D74D9DCEB for ; Mon, 4 Mar 2013 15:13:56 +0000 (UTC) Received: (qmail 76848 invoked by uid 500); 4 Mar 2013 15:13:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 76721 invoked by uid 500); 4 Mar 2013 15:13:54 -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 76703 invoked by uid 99); 4 Mar 2013 15:13:53 -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 15:13:53 +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 15:13:47 +0000 Received: from METEORO.pert.com.ar (192.168.1.36) by alerce1-mr.pert.com.ar id h6ita219p8gp for ; Mon, 4 Mar 2013 12:15:24 -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 12:13:24 -0300 From: Adriano Paggi To: "user@cassandra.apache.org" Subject: CqlPreparedResult type info Thread-Topic: CqlPreparedResult type info Thread-Index: Ac4Y5vWM6mc035IZS5iCFEJz8xnkMwAA7ICA Date: Mon, 4 Mar 2013 15:13:23 +0000 Message-ID: <99B1330FDC371449BA02CAD8061EF1C463F4BDAD@METEORO.pert.com.ar> 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_99B1330FDC371449BA02CAD8061EF1C463F4BDADMETEOROpertcoma_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_99B1330FDC371449BA02CAD8061EF1C463F4BDADMETEOROpertcoma_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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? Thanks! Adriano. --_000_99B1330FDC371449BA02CAD8061EF1C463F4BDADMETEOROpertcoma_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi, I’m using prepare_cql3_query thrift method, wh= ich 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 ty= pes.  A more intuitive response could be something like

 

org.apache.cassandra.db.marshal.MapType(org.apache.cassa= ndra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)

 

 

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

 

Is this an issue?

 

Thanks!

Adriano.

 

 

--_000_99B1330FDC371449BA02CAD8061EF1C463F4BDADMETEOROpertcoma_--