<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: How to add column and insert value for DynamicCompositeType using CQL</title>
		<link>http://www.datastax.com/support-forums/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 23:11:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql" rel="self" type="application/rss+xml" />

		<item>
			<title>zznate on "How to add column and insert value for DynamicCompositeType using CQL"</title>
			<link>http://www.datastax.com/support-forums/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql#post-783</link>
			<pubDate>Tue, 29 Nov 2011 20:28:29 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">783@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Ed's CQL examples are mostly illustrative - the values are not filled in on the slide as they would be the raw bytes of the composite column as a whole. (You could do this for select, update and insert statements, but would mean you handle the byte conversion to an from by hand).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "How to add column and insert value for DynamicCompositeType using CQL"</title>
			<link>http://www.datastax.com/support-forums/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql#post-782</link>
			<pubDate>Tue, 29 Nov 2011 19:06:50 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">782@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;I was bit tempted to play with CQL when I saw Ed Anuff's presentation about Cassandra Indexing Techniques. Presentation has some semantics for composite CQL statements.&#60;/p&#62;
&#60;p&#62;Thanks for quick response.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>zznate on "How to add column and insert value for DynamicCompositeType using CQL"</title>
			<link>http://www.datastax.com/support-forums/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql#post-781</link>
			<pubDate>Tue, 29 Nov 2011 05:44:13 +0000</pubDate>
			<dc:creator>zznate</dc:creator>
			<guid isPermaLink="false">781@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Composite columns (dynamic or static) are not yet supported in CQL. See &#60;a href=&#34;https://issues.apache.org/jira/browse/CASSANDRA-2474&#34; rel=&#34;nofollow&#34;&#62;https://issues.apache.org/jira/browse/CASSANDRA-2474&#60;/a&#62; for tracking.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "How to add column and insert value for DynamicCompositeType using CQL"</title>
			<link>http://www.datastax.com/support-forums/topic/how-to-add-column-and-insert-value-for-dynamiccompositetype-using-cql#post-780</link>
			<pubDate>Tue, 29 Nov 2011 05:11:23 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">780@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have created column family.&#60;/p&#62;
&#60;p&#62;create columnfamily comptest2(KEY varchar primary key) with comparator='DynamicCompositeType(s=&#38;gt;UTF8Type,u=&#38;gt;UTF8Type)';&#60;/p&#62;
&#60;p&#62;I am trying to add Composite column using alter statement but I am getting error. I tried all possible options I can think of.&#60;/p&#62;
&#60;p&#62;cqlsh&#38;gt;  alter table comptest2 add {&#34;col1&#34;,&#34;col2&#34;} ;&#60;br /&#62;
Bad Request: line 1:43 no viable alternative at character '}'&#60;/p&#62;
&#60;p&#62;cqlsh&#38;gt; alter table comptest2 add {&#34;col1&#34;,&#34;col2&#34;} {varchar,varchar};&#60;br /&#62;
Bad Request: line 1:61 no viable alternative at character '}'&#60;/p&#62;
&#60;p&#62;What am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
R
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
