Open
Description
- Package Name: azure.storage.blob
- Package Version: 12.25.1
- Operating System: Pop!_OS 22.04 LTS x86_64
- Python Version: 3.12
Describe the bug
When a 3rd party lib uses the azure.storage.blob to delete a file, it sometimes raises error when delete_blob returns status code 200 OK.
This seems to be an issue here - only accepting 202's
and here:
To Reproduce
Steps to reproduce the behavior:
- Register filesystem on DuckDB
- Try to overwrite existing file.
from adlfs import AzureBlobFileSystem
import duckdb
fs = AzureBlobFileSystem(
account_name="myaccount",
anon=False,
)
conn = duckdb.connect()
conn.register_filesystem(fs)
# Create a file
conn.execute("COPY (SELECT 1 AS 'a') TO 'abfs://mycontainer/myfile.parquet'")
# Try to overwrite - sometimes returns status code 200 which raises error
conn.execute("COPY (SELECT 1 AS 'a') TO 'abfs://mycontainer/myfile.parquet'")
Expected behavior
Should not raise error when successful.
Screenshots
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Workflow: This issue is responsible by Azure service team.Storage Service (Queues, Blobs, Files)Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that