March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a copy activity to convert a json file to a parquet file that sometimes runs infinitely (and ends at the configured maximum timeout) but normally works fine. Does anyone have an idea what can cause this phenomenon?
Solved! Go to Solution.
For your information, my solution to this problem was simply to replace my copy activity with a small python notebook to do this conversion. In python, it never bugs.
For your information, my solution to this problem was simply to replace my copy activity with a small python notebook to do this conversion. In python, it never bugs.
Hi @Master ,
The reasons why the replication activity may run indefinitely I believe are these:
1. if the JSON file is very large or contains complex nested structures, it may significantly increase processing time.
2. if your data source or target is experiencing network issues, this may cause delays or timeouts. This is more noticeable when you are using cloud storage or remote servers.
3. Insufficient resources (CPU, RAM) on the computer running the replication activity may cause the performance to not be able to keep up at all.
So I think you can try to run the replication activity with a smaller or simpler JSON file. Check the resource usage during the replication activity to see if there are any spikes or bottlenecks.
Translated with DeepL.com (free version)
Of course if you JSON has nested arrays, the solution is to use Flatten conversion in the data stream. You can check out this documentation for more information: API (JSON) to Parquet via DataFactory - Microsoft Q&A
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I simply use a copy activity in the Microsoft Fabric pipeline to do this conversion
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
7 | |
4 | |
2 | |
2 | |
2 |
User | Count |
---|---|
15 | |
10 | |
7 | |
5 | |
4 |