简体   繁体   English

修改对代码工作簿数据集的下游引用以指向使用帮助程序创建的新代码存储库数据集的最佳方法?

[英]Best way to modify downstream references to a code workbook dataset to point to the new code repository dataset created using helper?

When using the "Export to Code Repository Helper" tool in an existing code workbook, what is the most efficient way to modify downstream dependencies to point to the newly created Code Repository dataset?在现有代码工作簿中使用“Export to Code Repository Helper”工具时,修改下游依赖项以指向新创建的 Code Repository 数据集的最有效方法是什么?

We want to modify all downstream dependencies, not a subset.我们要修改所有下游依赖项,而不是子集。

The most efficient way would be to replace the logic of the original source dataset, without changing the actual dataset (ie by keeping the dataset with existing RID.) You can do it by:最有效的方法是替换原始源数据集的逻辑,而不更改实际数据集(即,将数据集与现有 RID 保持一致。)您可以通过以下方式完成:

  1. Removing the job spec of the dataset (dataset view -> details -> Job Spec -> edit -> delete)删除数据集的作业规范(数据集视图 -> 详细信息 -> 作业规范 -> 编辑 -> 删除)
  2. Setting the output of your code in repository to be the existing dataset.将存储库中代码的输出设置为现有数据集。

This way you do not have to modify any downstream dependencies.这样您就不必修改任何下游依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM