azure - 通过 adf 中的查找和时间戳进行增量加载

标签 azure cloud lookup oracle-adf

我想要从 informieren DB 到 azure sql db 进行增量加载。我使用查找从 sql 数据库获取最新时间戳,因为完全加载已经完成,我想使用查找输出来进行增量加载。这是我的查询

从 informixdb 选择 *,其中从 informixdb 选择 max(systemtimestamp)) > @{activity('LookupSYS_TIME).output}

最佳答案

要增量加载数据,您可以按照以下步骤操作:

就我而言,我将数据从 db 数据库增量加载到 db1 数据库。我在查找事件中运行以下查询:

SELECT MAX(systemtimestamp) AS MaxTimestamp FROM student

enter image description here

成功运行查找事件后,添加的复制事件选择数据库作为源并将以下查询添加到查询选项卡:

Select * from student where systemtimestamp > '@{activity('LookupSYS_TIME').output.firstRow.MaxTimeStamp}'

enter image description here

我设置接收器配置如下:

enter image description here

成功执行管道后,数据增量加载到 db1 中:

enter image description here

关于azure - 通过 adf 中的查找和时间戳进行增量加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76912191/

相关文章:

delphi - 在 Delphi 中检查关键字列表中的关键字的最快方法是什么?

azure - 我可以使用 centos 镜像创建 Azure aks kubernetes 集群吗?

c# - 从不同线程访问后释放 BrokeredMessage

ruby-on-rails - 创建 Ruby on Rails 云托管

node.js - 哪些服务可以让您每天运行 NodeJS 应用程序 1 小时?

mobile - Parse.com 中的一个类实际上可以处理多少行?

Excel VBA匹配多列并获取值

python - "Exercise 40: Dictionaries .."in 艰难学习 Python : for dictionaries a and b, a[b[c]] 是如何工作的?

azure - Databricks 小数数据类型列值转换为 null

azure - 如何将 OMS 用于 Azure Web 应用程序