<?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: CQL Question</title>
		<link>http://www.datastax.com/support-forums/topic/cql-question</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 18:38:45 +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/cql-question" rel="self" type="application/rss+xml" />

		<item>
			<title>thepaul on "CQL Question"</title>
			<link>http://www.datastax.com/support-forums/topic/cql-question#post-1663</link>
			<pubDate>Tue, 17 Apr 2012 21:16:04 +0000</pubDate>
			<dc:creator>thepaul</dc:creator>
			<guid isPermaLink="false">1663@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;The version of the Thrift library in use (Thrift.php and friends) is more important, and is not necessarily the same as the version of Thrift you used to compile your interface.&#60;/p&#62;
&#60;p&#62;Are you using cassandra-pdo for your CQL queries, or some other library?  What version?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "CQL Question"</title>
			<link>http://www.datastax.com/support-forums/topic/cql-question#post-1646</link>
			<pubDate>Tue, 17 Apr 2012 08:03:57 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1646@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;We running with an interface compiled from Thrift 0.7.0
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thepaul on "CQL Question"</title>
			<link>http://www.datastax.com/support-forums/topic/cql-question#post-1629</link>
			<pubDate>Mon, 16 Apr 2012 16:41:41 +0000</pubDate>
			<dc:creator>thepaul</dc:creator>
			<guid isPermaLink="false">1629@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hmm.  I'm guessing that must be some sort of shortcoming in the PHP implementation of Thrift.  I've just tested with a query string in excess of 2^20 bytes (1 MiB) through the Python thrift interface, and it worked fine.&#60;/p&#62;
&#60;p&#62;I asked around, and it sounds like the more recent versions of PHP Thrift should have a higher maximum frame size.  What version are you using?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "CQL Question"</title>
			<link>http://www.datastax.com/support-forums/topic/cql-question#post-1628</link>
			<pubDate>Mon, 16 Apr 2012 10:00:57 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1628@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi there, we are just switching to CQL for some of our data analysis (we were using direct thrift queries) and I have a question which I'm guessing must have come up before. I have a large amount of user data in a super column so I have written a (PHP) script to read that data and push it into a wide column suitable for CQL.&#60;/p&#62;
&#60;p&#62;At the moment I have a loop that looks something like this:&#60;/p&#62;
&#60;p&#62;Read a chunk of keys from the super-column like so&#60;br /&#62;
$cCQLResult = $this-&#38;gt;ExecuteCQL($cCQLDatasource, &#34;SELECT KEY FROM PlayrUserData WHERE KEY &#38;gt;= '$StartKey' AND KEY &#38;lt; '$FinishKey'&#34;);&#60;/p&#62;
&#60;p&#62;Now for that chunk build a list of keys that I wish to write (using a thrift query into the super column)&#60;/p&#62;
&#60;p&#62;For those keys that pass a simple test write them all into a wide column family:&#60;br /&#62;
$this-&#38;gt;ExecuteCQL($cCQLDatasource, &#34;UPDATE MarketingCohortCache SET '000001.Facebook.1517061723'='1','000020.Facebook.100003474181964'='1', .. 'WHERE KEY=LapsedUser_1330560000&#34;);&#60;/p&#62;
&#60;p&#62;The problem appears to be that I am attempting to UPDATE MarketingCohortCache with a pretty long list (about 5000 keys) and it appears to be choking the thrift interface with: TSocket: Could not write 194718 bytes (the length of the Update string).&#60;/p&#62;
&#60;p&#62;Is there a recommended way to write a large quantity of data to a wide column? Do I need to loop through with multiple updates? If so how long can I let the update string get?&#60;/p&#62;
&#60;p&#62;May thanks for reading.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
