[英]Azure Data Factory Table Storage Conversion Error
I'm trying to get data from Azure Table Storage using Azure Data Factory.我正在尝试使用 Azure 数据工厂从 Azure 表存储中获取数据。 I have a table called orders which has 30 columns.我有一个名为 orders 的表,它有 30 列。 I want to take only 3 columns from this table (PartitionKey, RowKey and DeliveryDate).我只想从此表中获取 3 列(PartitionKey、RowKey 和 DeliveryDate)。 The DeliveryDate column has different data types like DateTime.Null (String value) and actual datetime values. DeliveryDate 列具有不同的数据类型,例如 DateTime.Null(字符串值)和实际日期时间值。 When I want to preview the data i get the following error:当我想预览数据时,出现以下错误:
The DataSource looks like this:数据源如下所示:
{
"name": "Orders",
"properties": {
"linkedServiceName": {
"referenceName": "AzureTableStorage",
"type": "LinkedServiceReference"
},
"annotations": [],
"type": "AzureTable",
"structure": [
{
"name": "PartitionKey",
"type": "String"
},
{
"name": "RowKey",
"type": "String"
},
{
"name": "DeliveryDate",
"type": "String"
}
],
"typeProperties": {
"tableName": "Orders"
}
},
"type": "Microsoft.DataFactory/factories/datasets"}
I test your problem,it works.Can you show me more detail about this or there is something wrong about my test?我测试了你的问题,它有效。你能告诉我更多关于这个的细节还是我的测试有问题?
Below is my test data:下面是我的测试数据:
The dataset code:数据集代码:
{
"name": "Order",
"properties": {
"linkedServiceName": {
"referenceName": "AzureTableStorage",
"type": "LinkedServiceReference"
},
"annotations": [],
"type": "AzureTable",
"structure": [
{
"name": "PartitionKey",
"type": "String"
},
{
"name": "RowKey",
"type": "String"
},
{
"name": "DeliveryDate",
"type": "String"
}
],
"typeProperties": {
"tableName": "Table7"
}
},
"type": "Microsoft.DataFactory/factories/datasets"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.