azure-sdk-for-java
azure-sdk-for-java copied to clipboard
[Code Cleanup] Revisit Overwrite check for DataLake Append/Upload methods
Doing the check for overwriteCheck = exists().flatMap(...) is unnecessary, revisit the following areas and remove the exists() and immediately set RequestConditions as similarly done in Blobs. https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeFileAsyncClient.java#L399
*as discussed here