Azure Data Factory how to convert csv to pdf? - azure

Is it possible to convert csv files into pdf using Azure Data Factory or any other Azure technology?

Converting CSV (or any other file type) to PDF is not supported in Azure data factory.
You can use Azure Logic apps or Azure functions and Microsoft Graph to convert a file to PDF.
Note: You can call an API or execute azure functions in azure data factory pipeline.

Related

Can use Azure Synapse and Azure Data Factory to transform and convert CSV to XML?

I have a concern about Azure Synapse and Azure Data Factory like this:
We using Azure Data lake gen 2 to export data from D365FO. After that, use Azure Data Factory or Azure Synapse to transform (complex) and create a xml file.
My customer decided to use Azure Synapse to transform, but i checked, look like Azure Synapse only support to XML as Source, not Sink and doesn't support transform (flexiable like XSLT)?
You guys have any opinions about that? please help, thanks!
Currently, XML format is only supported as a source in the Azure Data Factory and not supported as sink.
You can raise a feature request here.
https://feedback.azure.com/d365community/post/

How to generate the excel file in Azure Data Factory

I need to generate an excel file in Azure Data Factory and save it in a blob storage. I know that Sink to Excel file is not available. I would like to create an Azure Function in PowerShell to achieve this but I don't know how to go about it.

Export data from Azure Timeseries insights using Azure REST API's or Azure Data Factory

Req: This actually for export last 6 months data from Timeseries insights to CSV file to download to User from web application.
The historical data is available on Blob & Timeseries insights.
Approach:
Create azure data factory pipeline which pulls the data from azure time series insights based on aggregate/filter query and convert it into CSV to store in Blob storage.
Is it possible to do that or any other approach can be considered for this requirement.
Please suggest.
Thanks
Data Factory doesn't support Azure Time Series Insights as the dataset(Source or Sink).
Ref the connector overview.
That means we can't create azure data factory pipeline which pulls the data from azure time series insights based on aggregate/filter query and convert it into CSV to store in Blob storage.
Some other way, you may could using Azure Blob storage client library to create and upload the file to Blob Storage.
Here's the tutorials may be helpful:
Query data from the Azure Time Series Insights Gen2 environment
using C Sharp
Quickstart: Azure Blob storage client library v12 for .NET

Azure Data Lake Excel Export To CSV as Same Folder / Path

have you ever made an azure data convert Azure Data Lake excel conversion to CSV file.
first, I have tried using SSIS with Azure Data Lake Source, but when Mapping is not possible, the choice is to add text.
second, says try using azure apps logic with create CSV table but the csv that comes out is only the structure in that folder
Thank you in advance
There is not a built-in way to extract from excel file in Azure data lake. I would suggest you to try one of the below approaches:
Write Custom .NET library for converting Excel to CSV and deploy that to Azure Data Lake Analytics. Azure Data Lake Analytics Programming Guide
Write a custom .NET activity in Azure Data Factory to do this. Custom Activities in Azure Data Factory
Use Azure Functions and Open XML do this activity as detailed in the stack overflow post
Use SSIS Package to do the conversion. You can have SSIS Runtimes in Azure Data Factory. SSIS packages running in Azure Data Factory
As I know about Azure, These isn't any way can help convert the excel file to csv directly.
You could follow these steps:
Download the excel file to you computer.
Import the excel file to the you SQL database.
Then export the table data as CSV file to you Blob Storage.
You could reference this document:
Import data from Excel to SQL Server or Azure SQL Database
Connect to Azure Blob Storage (SQL Server Import and Export
Wizard)
Hope this helps.

Invoking a java method from Azure Data factory pipeline

Im working on a project where i need to ingest EBCDIC files to Azure blob storage and transform it using Azure Paas Services.
High Level design is as follows:
Ingest file to Azure using AZcopy Do the transformation using ADF.
Before doing transformation i need to convert EBCDIC file to Ascii and the best solution is using JRecord which is written in java.
I created a custom solution to convert my files using JRecord and deployed it as an app in Azure.
Can some one help how can I invoke this app from an activity in Azure Data Factory pipeline?

Resources