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

Is Azure Storage Emulator supported? #13118

Closed
riverar opened this issue Jan 8, 2021 · 4 comments
Closed

Is Azure Storage Emulator supported? #13118

riverar opened this issue Jan 8, 2021 · 4 comments
Assignees
Labels
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. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Tables

Comments

@riverar
Copy link

riverar commented Jan 8, 2021

I'm getting bounced around many different Azure libraries for Tables and growing increasingly frustrated. Does this library support connections to the local emulator? Do you have an example that demonstrates TableClient instantiation with a local emulator connection string?

@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 Jan 8, 2021
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Tables labels Jan 8, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jan 8, 2021
@joheredi
Copy link
Member

joheredi commented Jan 9, 2021

Thanks for reaching out, I'll be happy to look into this and help getting you unblocked. I'll investigate and get back to you on Monday.

Meanwhile if you are getting any errors, would you mind sharing them please?

@joheredi
Copy link
Member

I was able to find the root cause that currently prevents the SDK to support Storage Emulator #13159. I'm currently investigating a way to work around this problem. I will provide an update soon when I have a proposal. This is my top priority at the moment.

@riverar
Copy link
Author

riverar commented Jan 12, 2021

Thanks @joheredi.

For context, my path thus far has been:

  • Spin up an Azure Functions project utilizing Tables
  • Fail due to Azurite not supporting Tables => Used older deprecated emulator
  • Fail due to Azure Function table bindings not supporting upsert operations => moved to recommended azure-storage-node
  • Blocked due to lack of Promise support in azure-storage-node => moved to recommended @azure/data-tables
  • Blocked due to lack of local Emulator support => Give up on emulator and use Azure-hosted resources ($$$)

@joheredi
Copy link
Member

Thanks for reporting this issue and your help reviewing and validating the fix. The fix has been merged and a new beta version released. Please install the latest version of @azure/data-tables and let me know if you see any issues.

npm install @azure/data-tables@latest

Sample to create a client to test with the emulator/azurite:

const tableService = TableClient.fromConnectionString('UseDevelopmentStorage=true', 'testTable');

@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
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. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Tables
Projects
None yet
Development

No branches or pull requests

3 participants