简体   繁体   English

git 拉入 Azure 数据工厂

[英]git pull in Azure Data Factory

When working with the regular source code, (Java, C++, etc..) there are things like使用常规源代码(Java、C++ 等)时,有类似

git pull ..
git fetch .. 
git push .. 

to synch your remote git repo branch with your local branch.将远程 git 回购分支与本地分支同步。 What is the equivalent of such in the Azure Data Factory world? Azure 数据工厂世界中的等价物是什么?

So, I am using azure data factory with the Azure git repo.因此,我将 azure 数据工厂与 Azure git 存储库一起使用。 I am working in the particular feature branch - "fefature branch" And my pipeline has a copy activity that hits a data set in its "Sink" stage.我在特定的功能分支 - “fefature branch”工作,我的管道有一个复制活动,在它的“Sink”阶段命中一个数据集。 Here is a screen shot but.. it's pretty simple and seems right这是一个屏幕截图,但是..它很简单而且看起来是正确的

在此处输入图像描述

I see that my code for Data set definition (Json) in the remote Git repository is different from what I see in the Azure portal gui (being pointed to that same remote branch).我看到我在远程 Git 存储库中的数据集定义 (Json) 代码与我在 Azure 门户 gui 中看到的代码不同(指向同一个远程分支)。 ADF Gui in the Azure Portal is correct, the one in the git repo contains some stuff that I already deleted, but it does not gets deleted there (Why??) So, when I 'Debug' pipeline I get errors which indicate this discrepancy as a problem. Azure 门户中的 ADF Gui 是正确的,git 存储库中的那个包含一些我已经删除的东西,但它并没有被删除(为什么??)所以,当我“调试”管道时,我得到了表明这种差异的错误作为一个问题。 I want ty sync the environments and.. given that I do not understand how the discrepancies came about, I don't know how to fix an issue?.我想要 ty 同步环境并且..鉴于我不明白差异是如何产生的,我不知道如何解决问题?。 Any help is appreciated.任何帮助表示赞赏。

In the ADF world, we use publish and create a new pull request to merge the new changes from a feature branch to the main branch.在 ADF 世界中,我们使用发布并创建新的拉取请求来将新更改从功能分支合并到主分支。

it seems like your git repository version is not up to date with the live ADF.您的 git 存储库版本似乎不是实时 ADF 的最新版本。

If there are any pending changes in your main branch, then you can click on Publish button to merge the changes如果您的主分支中有任何未决的更改,那么您可以单击“发布”按钮合并更改

And if you are working on the feature branches, you can merge the changes using the new pull request.如果您正在处理功能分支,则可以使用新的拉取请求合并更改。

If you have multiple feature branches, then you will need to manually compare the different versions to resolve these conflicts.如果你有多个功能分支,那么你将需要手动比较不同的版本来解决这些冲突。

自动进纸器

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

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