I have created an Azure Synapse Analytics pipeline that is triggered every time a new file is added to a certain directory.
It basically obtains the name of the file as input parameter of a notebook, which then reads said file and updates a lake database. If a file is added while the pipeline is running, a second instance of the same pipeline is created simultaneously. My question is, how do I make sure that the two instances of the same pipeline are not modifying the database at the same time? Is this feature implemented by default or do I have to ensure it with my code?