suppress the error message "We detected rows with varying number offields, this is not allowed in a transformation."
I am writing a new step that allows input from 2 previous steps. It is
fine that the row layout of the previous steps is not equal, so i
would like to suppress the error message "We detected rows with
varying number of fields, this is not allowed in a transformation."
Does someone know how to do this?
--
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.
Re: suppress the error message "We detected rows with varying numberof fields, this is not allowed in a transformation."
Hi Gunter,
There is a method in StepMetaInterface that handles this:
/**
* This method is added to exclude certain steps from layout checking.
* @since 2.5.0
*/
public boolean excludeFromRowLayoutVerification();
Just have it return false in your *Meta class.
Good luck!
Matt
2011/9/6 begunrom <gunter.rombauts (AT) skynet (DOT) be>
> I am writing a new step that allows input from 2 previous steps. It is
> fine that the row layout of the previous steps is not equal, so i
> would like to suppress the error message "We detected rows with
> varying number of fields, this is not allowed in a transformation."
> Does someone know how to do this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "kettle-developers" group.
> To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
> To unsubscribe from this group, send email to
> kettle-developers+unsubscribe (AT) g...oups (DOT) com.
> For more options, visit this group at
> http://groups.google.com/group/kettle-developers?hl=en.
>
>
--
Matt Casters <mcasters (AT) pentaho (DOT) org>
Chief Data Integration, Kettle founder, Author of Pentaho Kettle
Solutions<http://www.amazon.com/Pentaho-Kettle-Solutions-Building-Integration/dp/0470635177>
(Wiley <http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470635177.html>)
Fonteinstraat 70, 9400 OKEGEM - Belgium - Cell : +32 486 97 29 37
Pentaho : The Commercial Open Source Alternative for Business Intelligence
--
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.
Re: suppress the error message "We detected rows with varying numberof fields, this is not allowed in a transformation."
Hi Matt,
Thanks for the quick reply.
This did the job.
public boolean excludeFromRowLayoutVerification(){
return true;
}
--
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com.
To unsubscribe from this group, send email to kettle-developers+unsubscribe (AT) g...oups (DOT) com.
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en.