Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: suppress the error message "We detected rows with varying number offields, this is not allowed in a transformation."

  1. #1
    begunrom Guest

    Default 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.

  2. #2
    Matt Casters Guest

    Default 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.

  3. #3
    begunrom Guest

    Default 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.