Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Data Tables: Batch processing throwing ResourceNotFound on aio libraries #17093

Closed
verikono opened this issue Mar 4, 2021 · 6 comments
Closed
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Tables
Milestone

Comments

@verikono
Copy link

verikono commented Mar 4, 2021

  • azure.data.tables.aio (azure-data-tables):
  • 12.0.0b4:
  • Linux/Ubuntu:
  • 3.8:

Describe the bug
Batch processing fails throwing a ResourceNotFoundError

To Reproduce

  1. run the attached unittest. Python version seems to be unimportant but i have not tried in 3.9.

Expected behavior
3 rows should appear in the target datatable

test_ms.zip

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 4, 2021
@annatisch annatisch added Client This issue points to a problem in the data-plane of the library. Tables labels Mar 4, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 4, 2021
@annatisch
Copy link
Member

Thanks for the report @verikono! We'll investigate ASAP :)
@seankane-msft - could you please take a look?

@annatisch annatisch added this to the [2021] April milestone Mar 4, 2021
@annatisch annatisch added bug This issue requires a change to an existing behavior in the product in order to be resolved. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 4, 2021
@seankane-msft
Copy link
Member

Thanks for reporting this @verikono ! Currently, the batch operations cannot be done with SAS credentials. I am working on a fix for this, in the meantime if you need a work around you can use authentication with a key and batching operations should work fine. I will update this issue with more information.

@seankane-msft
Copy link
Member

Good news update, I was able to get a solution to your problem with #17133 . In short you'll need to wrap the token with AzureSasCredential class and that should solve your problem. This release will go out Tuesday morning and be available for download from pypi. Let me know if you have any further questions!

@verikono
Copy link
Author

verikono commented Mar 5, 2021

Thanks Sean!

My manager will be thoroughly amazed that we got a response and solution so fast - thank you so much for your effort ! :)

ghost pushed a commit that referenced this issue Mar 5, 2021
Fixes customer reported #17093 

I added two more tests, fixed sas tests to wrap with `AzureSasCredential`
@seankane-msft
Copy link
Member

@verikono The latest preview release of the azure-data-tables library was released to pypi yesterday. You can install with pip install --pre azure-data-tables and you will have support for the AzureSasCredential. If you have any further questions please open an issue and feel free to tag me in it.

@verikono
Copy link
Author

Thanks @seankane-msft !

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Tables
Projects
None yet
Development

No branches or pull requests

3 participants