Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Set environemnt variable with datetime

  1. #1
    Join Date
    May 2014

    Default Set environemnt variable with datetime

    how can i set environment varibale of pentaho spoon with datetime.
    what i want to do is:

    i have table with multiple columns and one of then is named "created_at".
    i want to to add a datetime as data when inserting data in this table.
    so i wanted to use a variable for this task

    how can do this?
    i tried Get info system ----set variable
    transformatio2 =
    generate rows --------table output

    job1 =

    but with transformation1 the environment variable is not set

    any help please
    Thank you

  2. #2


    I use the "Get System Data" node. Then select system date (fixed) from the drop-down. I use a column called etl_date in my tables for monitoring (read: if max(etl_date) is a day old, my ETL is not running)

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.