Pentaho数据集成转换,Internal.Transformation.Filename.Directory未设置

发布于 2024-12-24 03:04:20 字数 466 浏览 5 评论 0原文

我正在尝试使用内置的 Internal.Transformation.Filename.Directory 变量。我以 Pentaho 数据集成提供的一个简单示例为例:CSV 输入 - 使用错误日志记录读取客户数据.ktr

以下是变量感知字段中 CTRL+SPACE 后的工具提示:

正确的变量值

但是我的做法与示例我的变量没有值:

Missing variable value

有什么想法吗?我简单地检查了 Pentaho 论坛,但是我发现的唯一相关问题似乎没有回答我的问题。

我使用的是 Ubuntu 和 PDI 版本 4.2.1。

提前致谢。

I'm trying to use the built-in Internal.Transformation.Filename.Directory variable. I take as an example a simple sample the Pentaho Data Integration provides,CSV Input - Reading customer data with error logging.ktr.

Here is the tooltip after CTRL+SPACE in a variable aware field:

Correct variable value

However I do exactly the same as in the sample my variable has no value:

Missing variable value

Any ideias? I've briefly checked Pentaho forum however the only related issue I found does not seem to answer my question.

I'm using Ubuntu and PDI version 4.2.1.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

所谓喜欢 2024-12-31 03:04:20

这是正常行为,在存储库中您没有引用
要使用的目录

存储库中没有相对路径,因此最佳实践是
只需定义一个指示文件位置的变量即可。那样
您可以针对不同的地方进行配置
正在使用存储库。


PDI-7199 中,感谢 Matt Casters

This is normal behavior, in a repository you have no reference
directory to use
.

There are no relative paths in a repository, so best practice would
simply be to define a variable indicating a file location
. That way
you can make this configurable for the various places where the
repository is being used.

in PDI-7199, thanks to Matt Casters

眼趣 2024-12-31 03:04:20

你的转变真的被保存了吗?我想知道你是否忘记保存它 - 在这种情况下它不会被设置。

或者你没有工作,是吗?作业的变量名称不同。

Is your transformation actually saved? I wonder if you forgot to save it - in that case it wouldnt be set.

Alternatively you're not in a job are you? the variable name is different for a job.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文