incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alicia Leong <lccali...@gmail.com>
Subject MultiInput/MultiGet CF in MapReduce
Date Mon, 18 Mar 2013 00:29:55 GMT
Hi All

I have 2 tables

Data Table
-----------------
RowKey: 1
=> (column=name, value=apple)
RowKey: 2
=> (column=name, value=orange)
RowKey: 3
=> (column=name, value=banana)
RowKey: 4
=> (column=name, value=mango)


Index Table (YYYYMMDDHH)
------------------------------------------------
RowKey: 2013030114
=> (column=1, value=)
=> (column=2, value=)
=> (column=3, value=)
RowKey: 2013030115
=> (column=4, value=)


I would like to know, how to implement below in MapReduce
1) first query the Index Table by RowKey: 2013030114
2) then pass the Index Table column names  (1,2,3) to query the Data Table

Thanks in advance.

Mime
View raw message