Description
Various patches in the Pig Storage Handler:
- correctly guess the right Pig type for the Row Key
- add support for FloatType, DoubleType,
UUIDType (as String) and DateType (as time epoch)(removed in v2 because it would break when storing data back in Cassandra) - add support to specify correct type comparator in SlicePredicate
SlicePredicate comparator:
For instance:
raw = LOAD 'cassandra://ks/cf?slice_start=2.5&slice_end=5.3&comparator=DoubleType' USING CassandraStorage() AS ();
It's an optional parameter. If it's not present, it will default to BytesType. Which mean you must use hex strings.
Hence slice_start=00&slice_end=FF isn't the same as slice_start=00&slice_end=FF&comparator=AsciiType !