An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
Hello @Emilio Salas Roura
To read a text file with several columns and no delimiter, you can use the Custom delimited format in the Azure Data Factory. In this case, you can specify the column widths as the delimiter.
Here are the steps to do this:
- Create a new dataset in your Azure Data Factory and select the
Azure Blob Storageconnector as the source. - In the dataset settings, specify the path to your text file in the
File pathfield. - In the
Formatsection, selectCustom delimitedas the format. - In the
Column delimiterfield, specify the column widths as the delimiter. For example, if your first column is 10 characters wide and your second column is 5 characters wide, you would specify "10,5" as the delimiter. - In the
Schemasection, specify the column names and data types for each column in your text file. - Create a new dataset for your destination table in Azure SQL Database and select the
Azure SQL Databaseconnector as the sink. - In the dataset settings, specify the table name and the Azure SQL Database linked service.
- In the
Mappingsection, map the columns from your source dataset to the columns in your destination table. Once you have created both datasets, you can create a pipeline to copy the data from your source dataset to your destination dataset using theCopy Dataactivity. In theCopy Dataactivity, select your source and destination datasets and specify any additional settings, such as the frequency of the copy operation.
I hope this helps! Let me know if you have any further questions.