I am ingesting Large XML file and generating individual JSON according to the XML Element, I am using SPARK-XML in azure databricks. Code to create the json file as
commercialInfo
.write
.mode(SaveMode.Overwrite)
.json("/mnt/processed/" + "commercialInfo")
I am able to extract the XML element node and writing into the Azure storage container. A folder is created in the container and inside the folder we have name with the guid not with the filename.
Can anyone suggest if we have control over the File Name created in the container, i.e part-0000 into something meaningful name so that it can be read using some Azure Blob trigger.