I'm currently working with Azure Data Factory (ADF) and using it to store a file in a datalake for a Python script (in the form of an Azure Function) to use. However, the Python script isn't properly picking up the file because ADF is saving the json as an octet-stream. Is there any setting I can use to make it so ADF saves the file properly, or alternatively is there a good way for me to read octet files in Python?
Any and all help is appreciated.
When you Copy file from Azure Data Factory copy activity it gets copied as content-type octet-stream by default.
As a workaround solution, you can set propertied for blob using Web Activityby calling blob api to set properties. This should be executed after the Copy activity completes.
Output: