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 BCF32CF69 for ; Fri, 27 Apr 2012 15:44:21 +0000 (UTC) Received: (qmail 75008 invoked by uid 500); 27 Apr 2012 15:44:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74988 invoked by uid 500); 27 Apr 2012 15:44:19 -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 74980 invoked by uid 99); 27 Apr 2012 15:44:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 15:44:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hosschao@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2012 15:44:14 +0000 Received: by iazz13 with SMTP id z13so1453600iaz.31 for ; Fri, 27 Apr 2012 08:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sf18fw70BAnkVkAfCTWTSKWqtJAN93o6v81kJMQ6geE=; b=vz7J3K2FLQF6UDGRYFGWwu9QYjyY9v8Qor4VMJtspGfgGRh10zNLFuFjKyvAAJ9nd4 pv/9Pctd2DszgawLnVmt5Bs2w5i0LYkYCSktk6BC8Id/zwCOXMv43ofxVlArvwBpMUaq Xr2ldhC+/brkoTfjM0XpxhRoo9h+Y3Ewq6XeAzdSMJxITnnmCwk2RuUWIRNVfEBoJA5U 6ZyxuFBSmNy76R7Tr0WPQThPQoYrrTHM85X7FeAo2kVX1bT+kx8yZricgzaATSPa4iBh /Z1FOVIpZgqJwukkwk+r60FAGg/x77b4sxTqO1ILtGyW+SpbD/zHIkQbynlxtcL5T2Ej CzLA== MIME-Version: 1.0 Received: by 10.50.193.199 with SMTP id hq7mr3128974igc.49.1335541434005; Fri, 27 Apr 2012 08:43:54 -0700 (PDT) Received: by 10.231.61.9 with HTTP; Fri, 27 Apr 2012 08:43:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Apr 2012 23:43:53 +0800 Message-ID: Subject: Re: Can column type be changed dynamically? From: =?GB2312?B?wu2zrA==?= To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=14dae93403b9c1b75504beaaf8e2 X-Virus-Checked: Checked by ClamAV on apache.org --14dae93403b9c1b75504beaaf8e2 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Thanks a lot! I will go ahead~ 2012/4/27 Sylvain Lebresne > On Fri, Apr 27, 2012 at 5:26 PM, =C2=ED=B3=AC wrote: > > Hi all, > > > > I want to change one of my column type from IntegerType to Int32Type > > dynamically. I'm sure all datas in that column are int32 type indeed. S= o > I > > want changing the column type by: > > > > update column family XXX with column_metadata =3D [{column_name : 'xxx'= , > > validation_class : Int32Type}]; > > > > Is there any harm to do this? > > There isn't (as long as you're right to be sure of course). > > -- > Sylvain > --14dae93403b9c1b75504beaaf8e2 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable Thanks a lot! --14dae93403b9c1b75504beaaf8e2--