Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
NiteshS
Helper I
Helper I

Delta parquet format to JSON format

Dear Community,

 

I have my delta parquet table saved in Fabric Notebook. Is there a way to convert this to JSON file? Also, how can I access this JSON file locally on my system.

 

Thanks

Nitesh

1 ACCEPTED SOLUTION

Hi @NiteshS 

 

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

 

Thanks

View solution in original post

6 REPLIES 6
AMUser
New Member

JSON created is not in right format , we need the content as array to json.  

{"id":"11", "name":"abc"} ,

{"id":"12", "name":"xyz"} ,

{"id":"11", "name":"abc"} 

 

it is missing commas any ideas?

 

 

v-cboorla-msft
Community Support
Community Support

Hi @NiteshS 

 

Thanks for using Microsoft Fabric Community.

As I understand that you want to convert a delta parquet table that is saved in Fabric Notebook to JSON file and also you want to access this JSON file locally on your system.

I have tried the repro from our end and followed the below steps to achieve your ask.

Step1: Reading the data from delta table.

vcboorlamsft_0-1702565443049.png

Step2: Converting the delta table to JSON by using the below mentioned code.

delta_df = spark.read.format("delta").load("File Path")
json_df = delta_df.write.format("json").save("File Path")

vcboorlamsft_1-1702565509575.png

Step3: Reading the data from JSON file.

vcboorlamsft_2-1702565551217.png

Please find the screenshot for the converted JSON file

vcboorlamsft_3-1702565568366.png

In order to access the JSON file on your local system, you can achieve this by installing One Lake explorer and sync with your workspace, you can download the JSON file into your local system from One Lake explorer. Screenshot attached for reference.

vcboorlamsft_4-1702565696457.png

 

I hope this information helps. Please do let us know if you have any further questions.

Thank you v-cboorla-msft. WIll try this out.

Hi @NiteshS 

 

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

 

Thanks

Hi @NiteshS 

 

Glad that your query got resolved.

Please continue using Fabric Community for any help regarding your queries.

Thank you for your prompt response.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.