0
votes

I'm trying to get data from Azure Table Storage using Azure Data Factory. I have a table called orders which has 30 columns. I want to take only 3 columns from this table (PartitionKey, RowKey and DeliveryDate). The DeliveryDate column has different data types like DateTime.Null (String value) and actual datetime values. When I want to preview the data i get the following error:

enter image description here

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"}
1

1 Answers

0
votes

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:

table

entity

preview

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"
}