Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Feature Request on textInputField

  1. #1
    Join Date
    Sep 2005
    Posts
    1,403

    Default Feature Request on textInputField

    Hi,
    I've not found the way to deal with textfiles whose headers are changing.
    I mean ,I don't want to change my kettle job if the headers are changing but my datas are allways here.
    For exemple:
    I have the header :
    Name, surname, birthdate
    my process only use name and surname
    I would like that if the header become:
    Age, surname, salary, name, numberofchildrens
    the job still work!


    It mean that at execution time, the job try to do the mapping between the field name and is column position in the file when reading the header.
    I can code this request and the send here the modified class.
    I ve found 2 way of doing this:
    - re create the meta of the step at execution of the TextInputFile with adding temporary columns, from the result of reading the header, in the meta
    - adding a staticPosition parameter in the TextFileInputField class, value it when readeing header and modifiyng the convertLineToRow to use this property to get the value in the string tab (best perf?)



    What's your feeling on this ?



    ppa

  2. #2
    Join Date
    Sep 2005
    Posts
    1,403

    Default RE: Feature Request on textInputField

    I have done the dev ... how can i re integrate ?

  3. #3
    Join Date
    Sep 2005
    Posts
    1,403

    Default RE: Feature Request on textInputField

    message ^ from ppa

  4. #4
    Join Date
    Mar 2006
    Posts
    1

    Default RE: Feature Request on textInputField

    I have created a javaforge account. Matt, I'm weating for your directives for integrate my code if you want.

  5. #5
    Join Date
    Nov 1999
    Posts
    459

    Default RE: Feature Request on textInputField

    Hello ppa,


    great to see this ;-)



    Extract from http://www.kettle.be/en/dload.htm :



    You can also use a subversion client to extract the source tree. Use the following address:
    http://svn.javaforge.com/svn/Kettle/trunk/
    You can either use user anonymous (password: anon) or create a free account at the javaforge site.
    Use this subversion checkout command:
    svn checkout --username anonymous --password anon http://svn.javaforge.com/svn/Kettle/trunk/



    We use also 'tortoisesvn' as a Windows Shell Extension for Subversion: http://tortoisesvn.tigris.org/



    If you want to save time, send me your *.javaÂÂ's and I could integrate them for you. (IÂÂ'll send you my personal mail adress).



    Thanks,
    Jens

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

    Default RE: Feature Request on textInputField

    Hi Jens,

    I set him up and asked to coordinate with John as he's commiting to TextFileInput as well.
    Thanks for mentioning the links and software.
    I can add that the subclipse Eclipse plugin is nice to use as well if you're using eclipse.

    Cheers from Florida! (30°C over here :-))

    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.