我通过查询将数据从 Azure SQL DB 复制到 blob。
这是活动的脚本:
{
"type": "Copy",
"typeProperties": {
"source": {
"type": "SqlSource",
"sqlReaderQuery": "select distinct a.*, b.Name from [dbo].[Transactxxxxxxx] a join dbo.Anxxxxx b on a.[Clixxxxx] = b.[Fixxxxxx] where b.Name = 'associations'"
},
"sink": {
"type": "BlobSink",
"writeBatchSize": 0,
"writeBatchTimeout": "00:00:00"
}
},
"inputs": [
{
"name": "Txnsxxxxxxxxxxx"
}
],
"outputs": [
{
"name": "Txnxxxxxxxxxxxx"
}
],
"policy": {
"timeout": "01:00:00",
"concurrency": 1,
"retry": 3
},
"scheduler": {
"frequency": "Hour",
"interval": 1
},
"name": "Copyxxxxxxxxxx"
}
该活动似乎有效,但它没有将任何文件放入接收器。
数据集指向正确的容器。