Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Parameterised regex in data validator

  1. #1
    Join Date
    Apr 2009
    Posts
    337

    Default Parameterised regex in data validator

    Hi,

    I am trying to pass the regex(used in data validator step) for data validation from a variable in the properties file. But seems that does not read it properly!! is there a workaround to pass regex as a variable in data validator???
    Regards,
    Madhu

  2. #2
    Join Date
    Apr 2009
    Posts
    337

    Default

    im bumping on this because i need to think of alternatives, if I cant do it in a data validator! something like a regex step, where I can select substitute parameters? Is this what I should do? Can't data validator handle regexes coming through variables? Then why was the variable substitution option given at all? :P
    Regards,
    Madhu

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

    Default

    If you think you have found a bug file a bug report with a simple reproduction case, for example by creating a named parameter in a small transformation, a Data Grid step and a data validator step.
    It shouldn't take more than 5 minutes.

    It's simple: if you don't want to do this work, I'm not inclined to look at it :-)

  4. #4
    Join Date
    Apr 2009
    Posts
    337

    Default

    Hi Matt,

    Thanks a lot, first of all i needed to confirm if it was a known issue or a bug, always ready to file it sir!

    http://jira.pentaho.com/browse/PDI-7013
    Last edited by madhupenta; 11-11-2011 at 11:20 AM.
    Regards,
    Madhu

  5. #5
    Join Date
    Apr 2009
    Posts
    337

    Default

    Hi,
    Is anyone kind enough now to give me some suggestions? should I go and use regex step here? I am evaluating around 50 columns with regex in data validator!
    Regards,
    Madhu

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.