Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Count columns in a row

  1. #1
    Join Date
    Feb 2014

    Default Count columns in a row

    I would like to know if there is a way to know the number of columns in a row. I am importing some data from a file (it corresponds to a matrix that will have different sizes each time) and I would like to be able to know how many columns have been imported.

    Thanks and kind regards,

  2. #2
    Join Date
    Nov 1999


    In JavaScript: getInputRowMeta().size()
    Or you can get the columns themselves with the "Metadata structure of stream" step.

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.