Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Evaluation of Pentaho statement question

  1. #1
    Join Date
    Jun 2009
    Posts
    1

    Default Evaluation of Pentaho statement question

    Can someone tell me if the bolded text below is how Pentaho evaluates the first statement?

    STAT != null && STAT.equals("6") “Y”
    (ADDRESSABLE != null && (ADDRESSABLE.equals("2") || (ADDRESSABLE.equals("0") && DEL_SYS != null && DEL_SYS.equals("ATHOME")))) “F”
    Default assignment for any other condition “F”


    STAT != null && STAT.equals("6") ? (ADDRESSABLE != null && (ADDRESSABLE.equals("2") || (ADDRESSABLE.equals("0") && DEL_SYS != null && DEL_SYS.equals("ATHOME")))) ? "Y" : "F" : "F"

    Thanks,
    Jonathan

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

    Default

    What database are you using?
    Are you asking for database advice?

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.