Import JSON Files into SQL Server Using Datafactory

Samuel Pastrana Bedoya 146 Reputation points
2022-07-26T23:21:31.68+00:00

I have tried to parse a format of a json file stored in the datalake which has its internal content organized as follows:
225008-imagen-uno.png

But I would like it to be saved to sql like this:
225009-imagen-dos.png

I want to emphasize that I cannot use get metadatas or lookups since it is a process that will have millions of records to be ingested into SQL, I would appreciate if someone knows how to achieve this format conversion in a json file.
Thank you very much.

Azure SQL Database
Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

Answer accepted by question author
  1. AnnuKumari-MSFT 34,566 Reputation points Microsoft Employee Moderator
    2022-08-01T06:25:10.807+00:00

    Hi @Samuel Pastrana Bedoya ,

    Thankyou for using Microsoft Q&A platform and thanks for posting your question.
    As I understand your issue, you are trying to perform data transformation and load the data into SQL target table . Please let me know if my understanding is incorrect.

    You can consider using mapping dataflow in ADF to achieve the requirement.

    Kindly check the following video for reference: https://www.youtube.com/watch?v=eA2OZ56e53I&list=PLsJW07-_K61IFEbcrImrHeLaS6C_voe0E&index=6

    Also, consider providing the full source data for us to reproduce your scenario to provide better help as in the screenshot, I can't relate any relation between the source data as well as the expected output.

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you.
      Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

1 additional answer

Sort by: Most helpful
  1. Pratik Somaiya 4,211 Reputation points Volunteer Moderator
    2022-07-27T04:49:03.533+00:00

    Hello @Samuel Pastrana Bedoya

    You can perform this by following steps mentioned in this article

    Here the JSON is stored in the same fashion as needed by you


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.