Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: "The Weekly Kettle tip : Variables" document need to be update

  1. #1

    Default "The Weekly Kettle tip : Variables" document need to be update

    FYI,

    I followed the variable doc (http://kettle.pentaho.org/tips/?tip=5) to define a variable. The Javascript code describes in the doc doesn't work on 3.0. I changed the script to following and it works.

    var todayStr = today.dat2str("yyyyMMdd");

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    That situation was broken in version 2.5 as well.
    "Get output fields" would give you a Date type as output.
    At runtime there would be a String coming out of the JS script.

    That difference caused a lot of confusion. As such we don't support it anymore.
    It conflicts too much with the new engine.

    Somebody ought to file a bug report for this though.

    ;-)

    Matt

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.