Open fs111 opened 9 years ago
You can pass a user-defined FlowConnector to PigPen and have it use that to construct the flow: https://github.com/Netflix/PigPen/blob/2caa566a8a1f5c98cc1a5a65fc961c20ce066dfb/pigpen-cascading/src/main/clojure/pigpen/cascading.clj#L42
Is that sufficient or would you like to see an overload that takes a properties map and a query and constructs the default HadoopFlowConnector
using those properties?
The overloaded variant feels more natural to a Cascading user, I'd say
It is a common pattern for Cascading users to supply a Properties object to the FlowConnector to control many aspects of a flow. It would be great if PigPen allowed for that as well:
http://docs.cascading.org/cascading/2.7/javadoc/cascading-core/cascading/flow/FlowConnector.html