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.
CREATE EXTERNAL TABLE mapExample (foo INT, bar STRING, properties MAP<STRING,STRING>) STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'
WITH SERDEPROPERTIES ("cassandra.host" = "127.0.0.1","cassandra.port" = "9160","cassandra.ks.name" = "examples","cassandra.cf.name" = "map" );
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.
Regards
Buddhika
