<?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: Cassandra Hive Storage Handler Sample for Map data type</title>
		<link>http://www.datastax.com/support-forums/topic/cassandra-hive-storage-handler-sample-for-map-data-type</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Tue, 21 May 2013 17:10:32 +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/cassandra-hive-storage-handler-sample-for-map-data-type" rel="self" type="application/rss+xml" />

		<item>
			<title>Anonymous on "Cassandra Hive Storage Handler Sample for Map data type"</title>
			<link>http://www.datastax.com/support-forums/topic/cassandra-hive-storage-handler-sample-for-map-data-type#post-1957</link>
			<pubDate>Tue, 22 May 2012 07:23:19 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">1957@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;My use case is to have a Hive table definition with MAP Hive data type so that it can support varying set of key value properties per each row which is allowed in Cassandra. Some thing like what's given below.&#60;/p&#62;
&#60;p&#62;CREATE EXTERNAL TABLE mapExample (foo INT, bar STRING, properties MAP&#38;lt;STRING,STRING&#38;gt;) STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'&#60;br /&#62;
WITH SERDEPROPERTIES (&#34;cassandra.host&#34; = &#34;127.0.0.1&#34;,&#34;cassandra.port&#34; = &#34;9160&#34;,&#34;cassandra.ks.name&#34; = &#34;examples&#34;,&#34;cassandra.cf.name&#34; = &#34;map&#34; );&#60;/p&#62;
&#60;p&#62;But I am not sure how to provide the cassandra.column.mappings etc. since there is little documentation on how to use map data type with Hive, specially with Cassandra Storage handler. Any pointers regarding this are greatly appreciated.&#60;/p&#62;
&#60;p&#62;Regards&#60;br /&#62;
Buddhika
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
