Sample code using PDI with big data