[英]Azure Data Factory and Cosmos DB
I am new to ADF and Cosmos DB as well.我也是 ADF 和 Cosmos DB 的新手。
I am using Copy activity in ADF to fetch data from Cosmos DB and copy it to Synapse DWH我在 ADF 中使用 Copy 活动从 Cosmos DB 获取数据并将其复制到 Synapse DWH
I am trying to fetch yesterday's data using the following query in adf:我正在尝试使用 adf 中的以下查询获取昨天的数据:
Select * from c where TimestampToDateTime(c.timeStamps)>”@{FormatDateTime(subtractFromTime(utcnow(),2,’Day’),’yyyy-MM-dd’)}”
The query keeps timing out when I try to preview data.当我尝试预览数据时,查询一直超时。 Am I going in the right direction?
我是否朝着正确的方向前进?
Considering you have the timeStamps
in UTC date and time ISO 8601 value in the format YYYY-MM-DDThh:mm:ss.fffffffZ考虑到您有 UTC 日期和时间 ISO 8601 值中的时间戳,格式为 YYYY-MM-DDThh:mm:
timeStamps
SELECT * FROM c where c.ModifiedDate > DateTimeAdd("dd", -1, GetCurrentDateTime ()) and c.ModifiedDate < GetCurrentDateTime ()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.