Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Can I Get Next Row In a Transformation?

  1. #1

    Question Can I Get Next Row In a Transformation?

    how kettle use next row's information to generate this rows filed?
    for example, each row have a filed viewTime, I want to generate a new filed stay time using this row's viewTime - next row's viewTime.
    I can use
    prevRow = row
    in javascript to get previous row, how can I get next row effective?

  2. #2
    Join Date
    Dec 2005
    Posts
    531

    Default

    Hi,

    there is the Analytic Query Step that allows you to go x rows forward or backward.

    For more information have a look at: http://wiki.pentaho.com/display/EAI/Analytic+Query

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.