Want to read files(csv or json) from ADLS gen2 Azure storage using python(without ADB) .
file = DataLakeFileClient.from_connection_string(conn_str=conn_string,file_system_name="test", file_path="source")
with open("./test.csv", "r") as my_file:
file_data = file.read_file(stream=my_file)
Error : Exception has occurred: AttributeError 'DataLakeFileClient' object has no attribute 'read_file'
My try is to read csv files from ADLS gen2 and convert them into json. Download.readall() is also throwing the ValueError: This pipeline didn't have the RawDeserializer policy; can't deserialize.