Azure / Azure-DataFactory

Other
483 stars 589 forks source link

Delimited text format schema definition doesn't work #118

Open vody opened 5 years ago

vody commented 5 years ago

@vishalaj1 creates an issue for documentation: https://github.com/MicrosoftDocs/azure-docs/issues/34997. Duplicating it in this repository as this looks like a bug in ADF rather then in documentation.

As per the syntax we can define schema.

"schema": [ < physical schema, optional, retrievable during authoring > ],

However, when i define schema: "schema": [ { "name": "Tst1", "type": "String" },

This does not work. The column names are still read as Prop_0 etc.

An expectation are:

hbzhxying commented 3 years ago

Hi, vody

We don't support custom schema for delimited text. In UX, you cannot edit the schema also.

Thanks

vody commented 3 years ago

@hbzhxying, is this can be considered as a future request?

hbzhxying commented 3 years ago

@vody We will note down it and internal discuss about the plan.

Thanks

vody commented 3 years ago

@hbzhxying Our use case is: We are streaming data to Azure Data Lake v2 into a delimited text using Azure Blob Block per row line to enable row level updates. This was the smalless format for us which has been supported by ADF as well as by Power BI.