Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-17733

Relabel deprecated internal variables

    XMLWordPrintable

    Details

    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide

      Review the Internal variables listed for deprecation from Spoon (8.1) by opening the list of variables from a step's field that supports the use of variables (see attached pic).

      Note that the following Internal variables are listed for deprecation:

      • Internal.Transformation.Filename.Directory
      • Internal.Transformation.Name
      • Internal.Transformation.Repository.Directory
      • Internal.Transformation.Filename.Name

      See also:

      Show
      Review the Internal variables listed for deprecation from Spoon (8.1) by opening the list of variables from a step's field that supports the use of variables (see attached pic). Note that the following Internal variables are listed for deprecation: Internal.Transformation.Filename.Directory Internal.Transformation.Name Internal.Transformation.Repository.Directory Internal.Transformation.Filename.Name See also: BACKLOG-11407: Variable dropdown has to indicate the deprecated variables and highlight the important ones ESR-6577: Why was Internal.Transformation.Name deprecated?

      Description

      As of 6.0, the following internal Kettle variables have been deprecated:

      • Internal.Transformation.Filename.Directory
      • Internal.Transformation.Name
      • Internal.Transformation.Repository.Directory
      • Internal.Transformation.Filename.Name

      ...and replaced by:

      • Internal.Entry.Current.Directory

      According to Marc in ESR-6577:

      • neither Internal.Transformation.Name nor Internal.Job.Name should be set/labeled for deprecation as they return unique object name values and are not replaceable by Internal.Entry.Current.Directory
      • deprecation should be set/labeling added for the Internal Job variables that return directory values

      The rationale is that Internal.Entry.Current.Directory can replace the prior job and transformation directory-related variables, since it will return a directory value for both jobs and transformations regardless of whether they are stored on the filesystem or in the repository.

      But Internal.Entry.Current.Directory does not replace Internal.Transformation.Name nor Internal.Job.Name as the latter two return values for the objects and cannot be replaced by a variable that returns a directory value.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ana.mendes Ana Rita Clemente Mendes
              Reporter:
              criccardi Christopher Riccardi
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: