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

Allow to escape the variable syntax

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0 GA (Platform Release 3.7.0)
    • Fix Version/s: Not Planned
    • Component/s: None
    • Labels:
      None
    • 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.

      Description

      Use case: when you want to use ${foobar} really in your data stream, then you need to escape it.

      To be really flexible, the escape character should be defined by an optional variable, e.g. ESCAPE_CHARACTER.

      When this is not set, a default of \ could be used, e,g, \${foobar} and %%foobar%%

      Workaround: The feature of special characters makes it possible to escape the variable syntax already at this time. E.g. when you want to use ${foobar} really in your data stream, then you can escape it like this: $[24]

      {foobar}

      . $[24] is then replaced by '$' what results in ${foobar} without resolving the variable.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jbleuel Jens Bleuel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: