I wonder if anyone out there knows how we might go about using the rename* function from JCascalog? I've tried something like this:
Flow flow = Api.compileFlow(getClass().getSimpleName(), sinkTap, query(observationTap, encounterTap, animalTap,
errorTap));
return (Flow) Util.bootSimpleFn("cascalog.cascading.operations", "rename*").invoke(flow, Arrays.asList("rowKey", "record"));
but that just generates an exception:
java.lang.IllegalArgumentException: No implementation of method: :generator of protocol: #'cascalog.cascading.types/IGenerator found for class: cascading.flow.hadoop.HadoopFlow
Anyone know if it should be possible or some other way to get a Cascading Rename operation into my Cascalog pipeline?
Thanks,
Dave