简体   繁体   English

Azure 数据工厂表存储转换错误

[英]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.

相关问题 在Azure数据工厂中动态选择存储表 - Dynamic selection of storage table in azure data factory Azure数据工厂:将数据从表存储移动到SQL Azure - Azure Data Factory: Moving data from Table Storage to SQL Azure 将 Azure blob 存储文件名保存到 Sql 表 - Azure 数据工厂 - Save Azure blob storage filename to Sql table - Azure Data Factory 更新 Azure 数据工厂中的 Azure 表存储字段 - Updating Azure Table Storage Field in Azure Data Factory 将Azure Blob存储帐户链接到Azure数据工厂时出错 - Error linking Azure Blob Storage account to Azure Data Factory Azure表存储作为数据工厂行键中的接收器 - Azure Table Storage as Sink in Data Factory Row Key 值 2150002867256 的复制活动中的类型转换错误:Azure 数据工厂 - Type Conversion Error in Copy activity for value 2150002867256: Azure data factory 如何为Azure数据工厂链接服务中的Azure表存储/ blob动态动态提供连接字符串 - How to provide connection string dynamically for azure table storage/blob storage in Azure data factory Linked service Azure 数据工厂到 Azure Blob 存储权限 - Azure Data Factory to Azure Blob Storage Permissions Azure数据工厂复制时的数据转换 - Data conversion during copy in Azure Data Factory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM