Hi

Is there a way, where I can add a custom (newly created) Tuple to a new
DataSet or already existing DataSet?

DataSet set = env.fromElements (myCustomTuple);
works fine, but only with same datatype in case of Tuple2 or higher.
Tuple2<String,Long> creates a problem (as stated in JavaDoc it needs all
elements to be of same type).

Is there any workaround? Or using fromCollection is the only option?

Thanks for your help in advance.

Thanks and Regards
Amit Pawar

Reply via email to