Running the Pig demo
Examples demonstrate how to use Pig to work with CQL tables.
-
How to save Pig relations from/to Cassandra
Pig uses a single tuple.
-
How to work with a Cassandra compound primary key in Pig
Pig uses three tuples, one for the partition key and two for the two clustering columns.
-
How to use Pig to set up logic for exploring library data
This example from the Cassandra and Pig tutorial shows how to copy public library data into Cassandra, add logic to save the data to a Pig relation, execute programs by running MapReduce jobs, and view results in a Cassandra table.